Commit 4746674
committed
[SPARK-18617][SPARK-18560][TESTS] Fix flaky test: StreamingContextSuite. Receiver data should be deserialized properly
## What changes were proposed in this pull request?
Avoid to create multiple threads to stop StreamingContext. Otherwise, the latch added in #16091 can be passed too early.
## How was this patch tested?
Jenkins
Author: Shixiong Zhu <[email protected]>
Closes #16105 from zsxwing/SPARK-18617-2.
(cherry picked from commit 086b0c8)
Signed-off-by: Shixiong Zhu <[email protected]>1 parent 4c673c6 commit 4746674
File tree
1 file changed
+3
-1
lines changed- streaming/src/test/scala/org/apache/spark/streaming
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
814 | 814 | | |
815 | 815 | | |
816 | 816 | | |
| 817 | + | |
817 | 818 | | |
818 | 819 | | |
819 | | - | |
| 820 | + | |
820 | 821 | | |
| 822 | + | |
821 | 823 | | |
822 | 824 | | |
823 | 825 | | |
| |||
0 commit comments