Skip to content

Commit 7f08df4

Browse files
committed
[SPARK-47097][CONNECT][TESTS][FOLLOWUP] Increase timeout to 1 minute for interrupt tag test
### What changes were proposed in this pull request? This is a follow-up to increase `timeout` from `30s` to `1 minute` like the other timeouts of the same test case. - #45173 ### Why are the changes needed? To reduce the flakiness more. The following is the recent failure on `master` branch. - https://github.com/apache/spark/actions/runs/8944948827/job/24572965877 - https://github.com/apache/spark/actions/runs/8945375279/job/24574263993 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #46374 from dongjoon-hyun/SPARK-47097. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 5c01f19 commit 7f08df4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

connector/connect/client/jvm/src/test/scala/org/apache/spark/sql/SparkSessionE2ESuite.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ class SparkSessionE2ESuite extends RemoteSparkSession {
196196

197197
// q2 and q3 should be cancelled
198198
interrupted.clear()
199-
eventually(timeout(30.seconds), interval(1.seconds)) {
199+
eventually(timeout(1.minute), interval(1.seconds)) {
200200
val ids = spark.interruptTag("two")
201201
interrupted ++= ids
202202
assert(interrupted.length == 2, s"Interrupted operations: $interrupted.")
@@ -213,7 +213,7 @@ class SparkSessionE2ESuite extends RemoteSparkSession {
213213

214214
// q1 and q4 should be cancelled
215215
interrupted.clear()
216-
eventually(timeout(30.seconds), interval(1.seconds)) {
216+
eventually(timeout(1.minute), interval(1.seconds)) {
217217
val ids = spark.interruptTag("one")
218218
interrupted ++= ids
219219
assert(interrupted.length == 2, s"Interrupted operations: $interrupted.")

0 commit comments

Comments
 (0)