Skip to content

Commit

Permalink
Increase timeout for waiting for the cleanup of the shared index fold…
Browse files Browse the repository at this point in the history
…er (#98302)
  • Loading branch information
volodk85 committed Aug 9, 2023
1 parent 83e916a commit bb57a0c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;

import static org.elasticsearch.index.IndexSettings.INDEX_SOFT_DELETES_SETTING;
Expand Down Expand Up @@ -309,7 +310,7 @@ public void testCreateAndRestorePartialSearchableSnapshot() throws Exception {
// TODO: fix
// assertSearchableSnapshotStats(restoredIndexName, true, nonCachedExtensions);
ensureGreen(restoredIndexName);
assertBusy(() -> assertShardFolders(restoredIndexName, true));
assertBusy(() -> assertShardFolders(restoredIndexName, true), 30, TimeUnit.SECONDS);

assertThat(
client().admin()
Expand Down

0 comments on commit bb57a0c

Please sign in to comment.