Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-38080][TESTS][SS] Flaky test: StreamingQueryManagerSuite: 'awa…
…itAnyTermination with timeout and resetTerminated' ### What changes were proposed in this pull request? Fix a flaky test. ### Why are the changes needed? `StreamingQueryManagerSuite: 'awaitAnyTermination with timeout and resetTerminated'` is a flaky test. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? - The flaky test can be reproduced by adding a `Thread.sleep(100)` in https://github.com/apache/spark/blob/v3.2.1/sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/StreamExecution.scala#L346 - Using the above reproduction to verify the PR. Closes apache#35372 from zsxwing/SPARK-38080. Authored-by: Shixiong Zhu <zsxwing@gmail.com> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 811b7e3) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 78a9168)
- Loading branch information