-
Notifications
You must be signed in to change notification settings - Fork 28.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-23197][DStreams] Increased timeouts to resolve flakiness #20371
Conversation
@sameeragarwal this PR should fix this flakiness. |
@@ -105,13 +105,13 @@ class ReceiverSuite extends TestSuiteBase with TimeLimits with Serializable { | |||
assert(executor.errors.head.eq(exception)) | |||
|
|||
// Verify restarting actually stops and starts the receiver | |||
receiver.restart("restarting", null, 100) | |||
eventually(timeout(50 millis), interval(10 millis)) { | |||
receiver.restart("restarting", null, 600) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If these timeout bumps fix the flakiness, we should also consider enabling the "block generator throttling" test below (it was disabled via b69c4f9)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah. lets fix one at a time.
LGTM, pending jenkins. Thanks! |
Test build #4076 has finished for PR 20371 at commit
|
Test build #4074 has finished for PR 20371 at commit
|
Test build #4075 has finished for PR 20371 at commit
|
Test build #4072 has finished for PR 20371 at commit
|
Test build #4073 has finished for PR 20371 at commit
|
Test build #86550 has finished for PR 20371 at commit
|
## What changes were proposed in this pull request? Increased timeout from 50 ms to 300 ms (50 ms was really too low). ## How was this patch tested? Multiple rounds of tests. Author: Tathagata Das <tathagata.das1565@gmail.com> Closes #20371 from tdas/SPARK-23197. (cherry picked from commit 15adcc8) Signed-off-by: Tathagata Das <tathagata.das1565@gmail.com>
What changes were proposed in this pull request?
Increased timeout from 50 ms to 300 ms (50 ms was really too low).
How was this patch tested?
Multiple rounds of tests.