Commit 417bf4f
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 92b0387 commit 417bf4f
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 | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | 276 | | |
280 | 277 | | |
281 | 278 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
569 | 572 | | |
570 | 573 | | |
571 | 574 | | |
572 | | - | |
573 | | - | |
574 | 575 | | |
575 | 576 | | |
576 | 577 | | |
| |||
0 commit comments