diff --git a/src/test/java/org/elasticsearch/test/unit/cluster/routing/allocation/AwarenessAllocationTests.java b/src/test/java/org/elasticsearch/test/unit/cluster/routing/allocation/AwarenessAllocationTests.java index 36d06e80c2b..e30021c1575 100644 --- a/src/test/java/org/elasticsearch/test/unit/cluster/routing/allocation/AwarenessAllocationTests.java +++ b/src/test/java/org/elasticsearch/test/unit/cluster/routing/allocation/AwarenessAllocationTests.java @@ -29,6 +29,7 @@ import org.elasticsearch.cluster.routing.ShardRoutingState; import org.elasticsearch.cluster.routing.allocation.AllocationService; import org.elasticsearch.common.logging.ESLogger; import org.elasticsearch.common.logging.Loggers; +import org.elasticsearch.test.integration.ElasticsearchTestCase; import org.junit.Test; import static org.elasticsearch.cluster.ClusterState.newClusterStateBuilder; @@ -39,12 +40,11 @@ import static org.elasticsearch.cluster.routing.RoutingBuilders.routingTable; import static org.elasticsearch.cluster.routing.ShardRoutingState.*; import static org.elasticsearch.common.settings.ImmutableSettings.settingsBuilder; import static org.elasticsearch.test.unit.cluster.routing.allocation.RoutingAllocationTests.newNode; -import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.*; /** */ -public class AwarenessAllocationTests { +public class AwarenessAllocationTests extends ElasticsearchTestCase { private final ESLogger logger = Loggers.getLogger(AwarenessAllocationTests.class);