Commit 086796b
[SPARK-14391][LAUNCHER] Fix launcher communication test, take 2.
There's actually a race here: the state of the handler was changed before
the connection was set, so the test code could be notified of the state
change, wake up, and still see the connection as null, triggering the assert.
Author: Marcelo Vanzin <[email protected]>
Closes apache#12785 from vanzin/SPARK-14391.
(cherry picked from commit 73c20bf)
(cherry picked from commit 16b7f1d)1 parent 32692f4 commit 086796b
File tree
1 file changed
+1
-1
lines changed- launcher/src/main/java/org/apache/spark/launcher
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
302 | 301 | | |
| 302 | + | |
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| |||
0 commit comments