From 3268f5712536d5cbde55b1f467e90aabb7c8f907 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Thu, 25 Jul 2013 18:35:42 +0200 Subject: [PATCH] Math is as hard as Concurrency --- .../test/integration/cluster/ClusterServiceTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/elasticsearch/test/integration/cluster/ClusterServiceTests.java b/src/test/java/org/elasticsearch/test/integration/cluster/ClusterServiceTests.java index 6c9dacfd0f9..505f0cab4d3 100644 --- a/src/test/java/org/elasticsearch/test/integration/cluster/ClusterServiceTests.java +++ b/src/test/java/org/elasticsearch/test/integration/cluster/ClusterServiceTests.java @@ -141,7 +141,7 @@ public class ClusterServiceTests extends AbstractZenNodesTests { } }); invoked1.await(); - final CountDownLatch invoked2 = new CountDownLatch(8); + final CountDownLatch invoked2 = new CountDownLatch(9); for (int i = 2; i <= 10; i++) { clusterService.submitStateUpdateTask(Integer.toString(i), new ClusterStateUpdateTask() { @Override