Skip to content

Commit bb57a0c

Browse files
authored
Increase timeout for waiting for the cleanup of the shared index folder (#98302)
1 parent 83e916a commit bb57a0c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/FrozenSearchableSnapshotsIntegTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
import java.util.List;
6161
import java.util.Locale;
6262
import java.util.Map;
63+
import java.util.concurrent.TimeUnit;
6364
import java.util.concurrent.atomic.AtomicBoolean;
6465

6566
import static org.elasticsearch.index.IndexSettings.INDEX_SOFT_DELETES_SETTING;
@@ -309,7 +310,7 @@ public void testCreateAndRestorePartialSearchableSnapshot() throws Exception {
309310
// TODO: fix
310311
// assertSearchableSnapshotStats(restoredIndexName, true, nonCachedExtensions);
311312
ensureGreen(restoredIndexName);
312-
assertBusy(() -> assertShardFolders(restoredIndexName, true));
313+
assertBusy(() -> assertShardFolders(restoredIndexName, true), 30, TimeUnit.SECONDS);
313314

314315
assertThat(
315316
client().admin()

0 commit comments

Comments
 (0)