Commit ba1950d
authored
Change bad file settings when node is shut down (elastic#137978) (elastic#138932)
testNewErrorOnRestartProcessing modifies file settings with a different
error case. However, it checks the error hasn't yet been processed
before stopping the node. The point of the test is to check restarting
processes the file, but since there is an error, the version check is
never applied, so the new error state may materialize before the node is
restarted. This commit moves the file settings modification to occur
after the node is stopped.
closes elastic#1310981 parent 2efb7cd commit ba1950d
File tree
1 file changed
+14
-8
lines changed- server/src/internalClusterTest/java/org/elasticsearch/reservedstate/service
1 file changed
+14
-8
lines changedLines changed: 14 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
142 | | - | |
143 | | - | |
| 141 | + | |
144 | 142 | | |
145 | 143 | | |
146 | 144 | | |
| |||
519 | 517 | | |
520 | 518 | | |
521 | 519 | | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
527 | 533 | | |
528 | 534 | | |
529 | 535 | | |
| |||
0 commit comments