File tree 1 file changed +2
-1
lines changed
x-pack/plugin/ilm/src/internalClusterTest/java/org/elasticsearch/xpack/ilm 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 29
29
import java .util .Arrays ;
30
30
import java .util .Collection ;
31
31
import java .util .Collections ;
32
+ import java .util .concurrent .TimeUnit ;
32
33
33
34
import static org .elasticsearch .cluster .metadata .IndexMetadata .SETTING_NUMBER_OF_REPLICAS ;
34
35
import static org .elasticsearch .cluster .metadata .IndexMetadata .SETTING_NUMBER_OF_SHARDS ;
@@ -115,7 +116,7 @@ public void testIlmHistoryIndexCanRollover() throws Exception {
115
116
//instead of failing the whole test change it to assertion error and wait some more time
116
117
fail (e .getMessage ());
117
118
}
118
- });
119
+ }, 1L , TimeUnit . MINUTES );
119
120
120
121
//make sure ILM is stopped so no new items will be queued in ILM history
121
122
assertTrue (client ().execute (StopILMAction .INSTANCE , new StopILMRequest ()).actionGet ().isAcknowledged ());
You can’t perform that action at this time.
0 commit comments