Commit b14cf47
committed
Fix RestCancellableNodeClientTests.testConcurrentExecuteAndClose()
Fixes a race condition in testConcurrentExecuteAndClose() where
awaitClose() is called before addCloseListener() has been called,
resulting in a situation where closeListener is never completed and
the closeLatch is never pulled.
Closes #1291211 parent 0193dad commit b14cf47
File tree
1 file changed
+4
-0
lines changed- server/src/test/java/org/elasticsearch/rest/action
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
306 | 310 | | |
307 | 311 | | |
308 | 312 | | |
| |||
0 commit comments