From 2ff2777080ba46aa05888576e6bd639eadc88244 Mon Sep 17 00:00:00 2001 From: Armin Braun Date: Thu, 6 Dec 2018 07:58:53 +0100 Subject: [PATCH] SNAPSHOT: Increase Timeout to Stabilize Test * 30s is pretty close here, most runs take 25s of the timeout making the test unstable * closes #36283 --- .../snapshots/DedicatedClusterSnapshotRestoreIT.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/src/test/java/org/elasticsearch/snapshots/DedicatedClusterSnapshotRestoreIT.java b/server/src/test/java/org/elasticsearch/snapshots/DedicatedClusterSnapshotRestoreIT.java index ae87a760a65b2..a3be8cfa15baa 100644 --- a/server/src/test/java/org/elasticsearch/snapshots/DedicatedClusterSnapshotRestoreIT.java +++ b/server/src/test/java/org/elasticsearch/snapshots/DedicatedClusterSnapshotRestoreIT.java @@ -1161,7 +1161,6 @@ public void testSnapshotTotalAndIncrementalSizes() throws IOException { assertThat(anotherStats.getTotalSize(), is(snapshot1FileSize)); } - @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/36283") public void testDataNodeRestartWithBusyMasterDuringSnapshot() throws Exception { logger.info("--> starting a master node and two data nodes"); internalCluster().startMasterOnlyNode(); @@ -1203,7 +1202,7 @@ public void testDataNodeRestartWithBusyMasterDuringSnapshot() throws Exception { assertEquals(1, snapshotsStatusResponse.getSnapshots().size()); SnapshotInfo snapshotInfo = snapshotsStatusResponse.getSnapshots().get(0); assertTrue(snapshotInfo.state().toString(), snapshotInfo.state().completed()); - }, 30, TimeUnit.SECONDS); + }, 60L, TimeUnit.SECONDS); } private long calculateTotalFilesSize(List files) {