AwarenessAllocationTests must extend ESTestCase in order to respect AwaitsFix annotations

This commit is contained in:
Simon Willnauer 2013-08-27 19:27:33 +02:00
parent 9d5868904b
commit e6dcd137a6
1 changed files with 2 additions and 2 deletions

View File

@ -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);