Commit 5a76944
authored
Fix testCancelFailedSearchWhenPartialResultDisallowed (#64248)
The search request in the test can complete before the "cancelledLatch"
is latched if the second shard request is sent after the request was
canceled (i.e., the child task is not allowed to start after the parent
was canceled).
Closes #63976
Relates ##635201 parent ef4ea4a commit 5a76944
File tree
1 file changed
+6
-3
lines changed- server/src/internalClusterTest/java/org/elasticsearch/search
1 file changed
+6
-3
lines changedLines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
285 | 284 | | |
286 | 285 | | |
287 | 286 | | |
| |||
325 | 324 | | |
326 | 325 | | |
327 | 326 | | |
328 | | - | |
329 | | - | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
330 | 333 | | |
331 | 334 | | |
332 | 335 | | |
| |||
0 commit comments