|
|
@@ -59,6 +59,7 @@ import java.util.Collections;
|
|
|
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;
|
|
|
@@ -80,7 +81,6 @@ import static org.hamcrest.Matchers.sameInstance;
|
|
|
|
|
|
public class FrozenSearchableSnapshotsIntegTests extends BaseFrozenSearchableSnapshotsIntegTestCase {
|
|
|
|
|
|
- @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/84158")
|
|
|
public void testCreateAndRestorePartialSearchableSnapshot() throws Exception {
|
|
|
final String fsRepoName = randomAlphaOfLength(10);
|
|
|
final String indexName = randomAlphaOfLength(10).toLowerCase(Locale.ROOT);
|
|
|
@@ -304,7 +304,7 @@ public class FrozenSearchableSnapshotsIntegTests extends BaseFrozenSearchableSna
|
|
|
// TODO: fix
|
|
|
// assertSearchableSnapshotStats(restoredIndexName, true, nonCachedExtensions);
|
|
|
ensureGreen(restoredIndexName);
|
|
|
- assertBusy(() -> assertShardFolders(restoredIndexName, true));
|
|
|
+ assertBusy(() -> assertShardFolders(restoredIndexName, true), 30, TimeUnit.SECONDS);
|
|
|
|
|
|
assertThat(
|
|
|
client().admin()
|