SNAPSHOT: Increase Timeout to Stabilize Test (#36294)

* 30s is pretty close here, most runs take 25s of the timeout making the test unstable
* closes #36283
This commit is contained in:
Armin Braun 2018-12-06 13:43:28 +01:00 committed by GitHub
parent 77e6ef7b20
commit 98e66c6afe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -1161,7 +1161,6 @@ public class DedicatedClusterSnapshotRestoreIT extends AbstractSnapshotIntegTest
assertThat(anotherStats.getTotalSize(), is(snapshot1FileSize)); assertThat(anotherStats.getTotalSize(), is(snapshot1FileSize));
} }
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/36283")
public void testDataNodeRestartWithBusyMasterDuringSnapshot() throws Exception { public void testDataNodeRestartWithBusyMasterDuringSnapshot() throws Exception {
logger.info("--> starting a master node and two data nodes"); logger.info("--> starting a master node and two data nodes");
internalCluster().startMasterOnlyNode(); internalCluster().startMasterOnlyNode();
@ -1203,7 +1202,7 @@ public class DedicatedClusterSnapshotRestoreIT extends AbstractSnapshotIntegTest
assertEquals(1, snapshotsStatusResponse.getSnapshots().size()); assertEquals(1, snapshotsStatusResponse.getSnapshots().size());
SnapshotInfo snapshotInfo = snapshotsStatusResponse.getSnapshots().get(0); SnapshotInfo snapshotInfo = snapshotsStatusResponse.getSnapshots().get(0);
assertTrue(snapshotInfo.state().toString(), snapshotInfo.state().completed()); assertTrue(snapshotInfo.state().toString(), snapshotInfo.state().completed());
}, 30, TimeUnit.SECONDS); }, 60L, TimeUnit.SECONDS);
} }
private long calculateTotalFilesSize(List<Path> files) { private long calculateTotalFilesSize(List<Path> files) {