From 3db9caf7a1647d3179e0fa0665d1bc19f3b9a827 Mon Sep 17 00:00:00 2001 From: Igor Motov Date: Thu, 28 May 2015 08:54:38 -1000 Subject: [PATCH] Tests: Increase timeout waiting for snapshot to complete in batchingShardUpdateTaskTest When this test picks a large number of shards, the snapshot doesn't always manage to complete in 10 seconds. --- .../snapshots/SharedClusterSnapshotRestoreTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/elasticsearch/snapshots/SharedClusterSnapshotRestoreTests.java b/src/test/java/org/elasticsearch/snapshots/SharedClusterSnapshotRestoreTests.java index d4651e87174..1e8d45d3699 100644 --- a/src/test/java/org/elasticsearch/snapshots/SharedClusterSnapshotRestoreTests.java +++ b/src/test/java/org/elasticsearch/snapshots/SharedClusterSnapshotRestoreTests.java @@ -1907,7 +1907,7 @@ public class SharedClusterSnapshotRestoreTests extends AbstractSnapshotTests { } assertThat(count, equalTo(expectedCount)); } - }); + }, 1, TimeUnit.MINUTES); } /**