-
Notifications
You must be signed in to change notification settings - Fork 28.6k
[SPARK-5731][Streaming][Test] Fix incorrect test in DirectKafkaStreamSuite #4597
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
Conversation
Test build #603 has started for PR 4597 at commit
|
Test build #604 has started for PR 4597 at commit
|
Test build #605 has started for PR 4597 at commit
|
Test build #606 has started for PR 4597 at commit
|
Test build #27455 has started for PR 4597 at commit
|
Test build #27458 has started for PR 4597 at commit
|
Test build #27455 has finished for PR 4597 at commit
|
Test FAILed. |
Test build #604 has finished for PR 4597 at commit
|
Test build #606 has finished for PR 4597 at commit
|
LGTM |
Test build #603 has finished for PR 4597 at commit
|
Test build #605 has finished for PR 4597 at commit
|
Test build #607 has started for PR 4597 at commit
|
Test build #608 has started for PR 4597 at commit
|
Test build #609 has started for PR 4597 at commit
|
Test build #27458 has finished for PR 4597 at commit
|
Test PASSed. |
Test build #609 has finished for PR 4597 at commit
|
Test build #607 has finished for PR 4597 at commit
|
Test build #608 has finished for PR 4597 at commit
|
Seems like streamingcontext itself is a bit flaky ... |
Why? Even the failure of StreamingContext.stop() unit test in the failed Test build #609 above was causing by the same broadcast piece failure.
This is indeed weird. Anyways, the Kafka test seems pretty solid now. If its okay with you I merging this, and we can continue investigating on the broadcast problem independently. |
Please go ahead and merge.
|
…Suite The test was incorrect. Instead of counting the number of records, it counted the number of partitions of RDD generated by DStream. Which is not its intention. I will be testing this patch multiple times to understand its flakiness. PS: This was caused by my refactoring in #4384 koeninger check it out. Author: Tathagata Das <tathagata.das1565@gmail.com> Closes #4597 from tdas/kafka-flaky-test and squashes the following commits: d236235 [Tathagata Das] Unignored last test. e9a1820 [Tathagata Das] fix test (cherry picked from commit 3912d33) Signed-off-by: Tathagata Das <tathagata.das1565@gmail.com>
The test was incorrect. Instead of counting the number of records, it counted the number of partitions of RDD generated by DStream. Which is not its intention. I will be testing this patch multiple times to understand its flakiness.
PS: This was caused by my refactoring in #4384
@koeninger check it out.