GitHub user JoshRosen opened a pull request:
https://github.com/apache/spark/pull/3687
Remove many uses of Thread.sleep() from streaming tests
This is a work-in-progress PR towards removing many of the `Thread.sleep()`
calls from Spark Streaming's test suite, since I think that these calls make
these tests race-prone and flaky.
I expect these test runs to fail, actually, since I uncovered some new bugs
in Streaming.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/JoshRosen/spark streaming-test-flakiness
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/3687.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3687
----
commit 303e828225630d2d08e14093db030e1b22fd7a27
Author: Josh Rosen <[email protected]>
Date: 2014-12-12T23:15:59Z
Add StreamingTestWaiter class
commit f8f6c93675e7989d3a81cb358b6690b09a063f74
Author: Josh Rosen <[email protected]>
Date: 2014-12-12T23:17:36Z
Remove (all but one) sleep calls from âsocket input streamâ test
commit 6ce068164c1c2c59c6a02b287859128d67eb8457
Author: Josh Rosen <[email protected]>
Date: 2014-12-12T23:41:08Z
Refactor several tests to use verifyOutput()
commit 5c31b8acd0314cd908077db575a96d664edb8abf
Author: Josh Rosen <[email protected]>
Date: 2014-12-12T23:59:23Z
Revert "Remove (all but one) sleep calls from âsocket input streamâ
test"
This reverts commit f8f6c93675e7989d3a81cb358b6690b09a063f74.
Conflicts:
streaming/src/test/scala/org/apache/spark/streaming/InputStreamsSuite.scala
commit ad0056bf912d1d29cc2aa81be4615f527466bb1a
Author: Josh Rosen <[email protected]>
Date: 2014-12-13T00:42:01Z
WIP towards improved CheckpointSuite sleep logic.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]