Commit cfcb128 1 parent bf5e628 commit cfcb128 Copy full SHA for cfcb128
File tree 1 file changed +2
-2
lines changed
server/src/internalClusterTest/java/org/opensearch/indices/state
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ public void testCloseWhileDeletingIndices() throws Exception {
287
287
throw new AssertionError (e );
288
288
}
289
289
try {
290
- assertAcked (client ().admin ().indices ().prepareDelete (indexToDelete ));
290
+ assertAcked (client ().admin ().indices ().prepareDelete (indexToDelete ). setTimeout ( "60s" ) );
291
291
} catch (final Exception e ) {
292
292
assertException (e , indexToDelete );
293
293
}
@@ -301,7 +301,7 @@ public void testCloseWhileDeletingIndices() throws Exception {
301
301
throw new AssertionError (e );
302
302
}
303
303
try {
304
- client ().admin ().indices ().prepareClose (indexToClose ).get ();
304
+ client ().admin ().indices ().prepareClose (indexToClose ).setTimeout ( "60s" ). get ();
305
305
} catch (final Exception e ) {
306
306
assertException (e , indexToClose );
307
307
}
You can’t perform that action at this time.
0 commit comments