diff options
author | Shixiong Zhu <shixiong@databricks.com> | 2016-05-03 11:16:55 -0700 |
---|---|---|
committer | Tathagata Das <tathagata.das1565@gmail.com> | 2016-05-03 11:16:55 -0700 |
commit | b545d752195f6dcba4c512b8a1d5bf5b74279dc8 (patch) | |
tree | cb79123e24f401eb3a8425ddbe7bc3284c9b6fef /core/src | |
parent | 4ad492c40358d0104db508db98ce0971114b6817 (diff) | |
download | spark-b545d752195f6dcba4c512b8a1d5bf5b74279dc8.tar.gz spark-b545d752195f6dcba4c512b8a1d5bf5b74279dc8.tar.bz2 spark-b545d752195f6dcba4c512b8a1d5bf5b74279dc8.zip |
[SPARK-14860][TESTS] Create a new Waiter in reset to bypass an issue of ScalaTest's Waiter.wait
## What changes were proposed in this pull request?
This PR updates `QueryStatusCollector.reset` to create Waiter instead of calling `await(1 milliseconds)` to bypass an ScalaTest's issue that Waiter.await may block forever.
## How was this patch tested?
I created a local stress test to call codes in `test("event ordering")` 100 times. It cannot pass without this patch.
Author: Shixiong Zhu <shixiong@databricks.com>
Closes #12623 from zsxwing/flaky-test.
Diffstat (limited to 'core/src')
0 files changed, 0 insertions, 0 deletions