[TEST] Fix testRolloverConditionsNotMet to expect correct rollover index name
PR #21138 changed the target index name even if _rollover conditions are not met but missed to adapt this test.
This commit is contained in:
parent
a66c76eb44
commit
118913b553
|
@ -130,7 +130,7 @@ public class RolloverIT extends ESIntegTestCase {
|
|||
final RolloverResponse response = client().admin().indices().prepareRolloverIndex("test_alias")
|
||||
.addMaxIndexAgeCondition(TimeValue.timeValueHours(4)).get();
|
||||
assertThat(response.getOldIndex(), equalTo("test_index-0"));
|
||||
assertThat(response.getNewIndex(), equalTo("test_index-0"));
|
||||
assertThat(response.getNewIndex(), equalTo("test_index-000001"));
|
||||
assertThat(response.isDryRun(), equalTo(false));
|
||||
assertThat(response.isRolledOver(), equalTo(false));
|
||||
assertThat(response.getConditionStatus().size(), equalTo(1));
|
||||
|
|
Loading…
Reference in New Issue