Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ protected Settings nodeSettings(int nodeOrdinal) {
.build();
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/36779")
public void testDisruptionOnSnapshotInitialization() throws Exception {
final String idxName = "test";
final List<String> allMasterEligibleNodes = internalCluster().startMasterOnlyNodes(3);
Expand Down Expand Up @@ -180,7 +179,11 @@ public void clusterChanged(ClusterChangedEvent event) {

logger.info("--> verify that snapshot eventually will be created due to retries");
assertBusy(() -> {
assertSnapshotExists("test-repo", "test-snap-2");
try {
assertSnapshotExists("test-repo", "test-snap-2");
} catch (SnapshotMissingException ex) {
throw new AssertionError(ex);
}
}, 1, TimeUnit.MINUTES);
}

Expand Down