From 5d32d3cc638ac0061cf2cee041ded8129c2783a3 Mon Sep 17 00:00:00 2001 From: Armin Braun Date: Sat, 22 Jun 2019 16:50:08 +0200 Subject: [PATCH] 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 --- .../elasticsearch/snapshots/SharedClusterSnapshotRestoreIT.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/test/java/org/elasticsearch/snapshots/SharedClusterSnapshotRestoreIT.java b/server/src/test/java/org/elasticsearch/snapshots/SharedClusterSnapshotRestoreIT.java index 7cba57fd2d594..fd523c884c7ce 100644 --- a/server/src/test/java/org/elasticsearch/snapshots/SharedClusterSnapshotRestoreIT.java +++ b/server/src/test/java/org/elasticsearch/snapshots/SharedClusterSnapshotRestoreIT.java @@ -841,6 +841,8 @@ public void testSnapshotFileFailureDuringSnapshot() throws InterruptedException } public void testDataFileFailureDuringSnapshot() throws Exception { + disableRepoConsistencyCheck("This test intentionally leaves a broken repository"); + Client client = client(); logger.info("--> creating repository"); assertAcked(client.admin().cluster().preparePutRepository("test-repo")