Commit 5091983
authored
This fixes a race condition in the test scenario, between the merge
scheduler closing and the merge task being scheduled to run. The test
scenario expects that the merge task runs when the scheduler is closed.
If the merge scheduler is closed before the merge task is scheduled, the
merge task will instead be scheduled as aborted.
Fixes: #125236
1 parent bf735f4 commit 5091983
File tree
2 files changed
+3
-5
lines changed- server/src/test/java/org/elasticsearch/index/engine
2 files changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | 284 | | |
288 | 285 | | |
289 | 286 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
612 | 612 | | |
613 | 613 | | |
614 | 614 | | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
615 | 618 | | |
616 | 619 | | |
617 | 620 | | |
618 | | - | |
619 | | - | |
620 | 621 | | |
621 | 622 | | |
622 | 623 | | |
| |||
0 commit comments