Skip to content

Commit 5c98c50

Browse files
committed
Increase timeout while checking for no snapshotted commit (#49461)
If some replica is performing a file-based recovery, then the check assertNoSnapshottedIndexCommit would fail. We should increase the timeout for this check so that we can wait until all recoveries done or aborted. Closes #49403
1 parent 7ac87fe commit 5c98c50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/framework/src/main/java/org/elasticsearch/test/InternalTestCluster.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1370,7 +1370,7 @@ private void assertNoSnapshottedIndexCommit() throws Exception {
13701370
}
13711371
}
13721372
}
1373-
});
1373+
}, 60, TimeUnit.SECONDS);
13741374
}
13751375

13761376
/**

0 commit comments

Comments
 (0)