Skip to content
Snippets Groups Projects
Commit 3aa7d763 authored by Tathagata Das's avatar Tathagata Das Committed by Shixiong Zhu
Browse files

[SQL][TESTS] Fix for flaky test in ContinuousQueryManagerSuite

## What changes were proposed in this pull request?

The timeouts were lower the other timeouts in the test. Other tests were stable over the last month.

## How was this patch tested?

Jenkins tests.

Author: Tathagata Das <tathagata.das1565@gmail.com>

Closes #12219 from tdas/flaky-test-fix.
parent 033d8081
No related branches found
No related tags found
No related merge requests found
......@@ -185,8 +185,8 @@ class ContinuousQueryManagerSuite extends StreamTest with SharedSQLContext with
val q2 = stopRandomQueryAsync(100 milliseconds, withError = true)
testAwaitAnyTermination(
ExpectException[SparkException],
awaitTimeout = 1 seconds,
testBehaviorFor = 2 seconds)
awaitTimeout = 4 seconds,
testBehaviorFor = 6 seconds)
require(!q2.isActive) // should be inactive by the time the prev awaitAnyTerm returned
// All subsequent calls to awaitAnyTermination should throw the exception
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment