Skip to content

Commit

Permalink
Tests: Increase block timeout for snapshot to complete in batchingSha…
Browse files Browse the repository at this point in the history
…rdUpdateTaskTest

For a large number of shards in the test 10 seconds doesn't seem to be enough on some CI hardware.
  • Loading branch information
imotov committed Jun 2, 2015
1 parent f6191d0 commit 0b57f46
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1929,7 +1929,7 @@ public class BlockingClusterStateListener implements ClusterStateListener {
private long stopWaitingAt = -1;

public BlockingClusterStateListener(ClusterService clusterService, String blockOn, String countOn, Priority passThroughPriority) {
this(clusterService, blockOn, countOn, passThroughPriority, TimeValue.timeValueSeconds(10));
this(clusterService, blockOn, countOn, passThroughPriority, TimeValue.timeValueMinutes(1));
}

public BlockingClusterStateListener(ClusterService clusterService, final String blockOn, final String countOn, Priority passThroughPriority, TimeValue timeout) {
Expand Down

0 comments on commit 0b57f46

Please sign in to comment.