Math is as hard as Concurrency

This commit is contained in:
Simon Willnauer 2013-07-25 18:35:42 +02:00
parent 0e303840e8
commit 3268f57125
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ public class ClusterServiceTests extends AbstractZenNodesTests {
} }
}); });
invoked1.await(); invoked1.await();
final CountDownLatch invoked2 = new CountDownLatch(8); final CountDownLatch invoked2 = new CountDownLatch(9);
for (int i = 2; i <= 10; i++) { for (int i = 2; i <= 10; i++) {
clusterService.submitStateUpdateTask(Integer.toString(i), new ClusterStateUpdateTask() { clusterService.submitStateUpdateTask(Integer.toString(i), new ClusterStateUpdateTask() {
@Override @Override