mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 15:17:30 -04:00
Fix ILMDownsampleDisruptionIT.testILMDownsampleRollingRestart
(#126692)
Wait for the index to exist on the master node to ensure all nodes have the latest cluster state. Fixes #126495
This commit is contained in:
parent
856323594d
commit
507f40cd72
3 changed files with 11 additions and 10 deletions
|
@ -192,8 +192,8 @@ public class ILMDownsampleDisruptionIT extends ESIntegTestCase {
|
|||
throw new AssertionError(e);
|
||||
}
|
||||
}, 1, TimeUnit.MINUTES);
|
||||
awaitIndexExists(targetIndex, TimeValue.timeValueSeconds(60));
|
||||
assertBusy(() -> {
|
||||
assertTrue("target index [" + targetIndex + "] does not exist", indexExists(targetIndex));
|
||||
var getSettingsResponse = client().admin()
|
||||
.indices()
|
||||
.getSettings(new GetSettingsRequest(TEST_REQUEST_TIMEOUT).indices(targetIndex))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue