Commit cb81e65
authored
Change bad file settings when node is shut down (#137978)
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 #1310981 parent fc10209 commit cb81e65
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