Skip to content

Commit 3290452

Browse files
Don't Consistency Check Broken Repository in Test (#43499)
* Missed this one in #42189 and it randomly runs into a situation where the broken mock repo is broken such that we can't get to a consistent end state via a delete * Closes #43498
1 parent 52de0c7 commit 3290452

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/src/test/java/org/elasticsearch/snapshots/SharedClusterSnapshotRestoreIT.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,8 +842,9 @@ public void testSnapshotFileFailureDuringSnapshot() throws InterruptedException
842842
}
843843
}
844844

845-
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/43498")
846845
public void testDataFileFailureDuringSnapshot() throws Exception {
846+
disableRepoConsistencyCheck("This test intentionally leaves a broken repository");
847+
847848
Client client = client();
848849
logger.info("--> creating repository");
849850
assertAcked(client.admin().cluster().preparePutRepository("test-repo")

0 commit comments

Comments
 (0)