diff --git a/x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/CcrLicenseIT.java b/x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/CcrLicenseIT.java index 05383b280e6..06cafc4777a 100644 --- a/x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/CcrLicenseIT.java +++ b/x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/CcrLicenseIT.java @@ -47,6 +47,7 @@ public class CcrLicenseIT extends ESSingleNodeTestCase { new ActionListener() { @Override public void onResponse(final AcknowledgedResponse response) { + latch.countDown(); fail(); } @@ -69,6 +70,7 @@ public class CcrLicenseIT extends ESSingleNodeTestCase { new ActionListener() { @Override public void onResponse(final CreateAndFollowIndexAction.Response response) { + latch.countDown(); fail(); } @@ -86,6 +88,7 @@ public class CcrLicenseIT extends ESSingleNodeTestCase { client().execute(CcrStatsAction.INSTANCE, new CcrStatsAction.TasksRequest(), new ActionListener() { @Override public void onResponse(final CcrStatsAction.TasksResponse tasksResponse) { + latch.countDown(); fail(); }