|
|
@@ -25,7 +25,6 @@ import org.elasticsearch.action.admin.indices.recovery.ShardRecoveryResponse;
|
|
|
import org.elasticsearch.client.Client;
|
|
|
import org.elasticsearch.cluster.ClusterState;
|
|
|
import org.elasticsearch.cluster.routing.allocation.allocator.BalancedShardsAllocator;
|
|
|
-import org.elasticsearch.cluster.routing.allocation.decider.DisableAllocationDecider;
|
|
|
import org.elasticsearch.cluster.routing.allocation.decider.EnableAllocationDecider;
|
|
|
import org.elasticsearch.common.settings.ImmutableSettings;
|
|
|
import org.elasticsearch.common.settings.Settings;
|
|
|
@@ -36,6 +35,7 @@ import org.elasticsearch.indices.recovery.RecoveryState;
|
|
|
import org.elasticsearch.test.ElasticsearchIntegrationTest;
|
|
|
import org.elasticsearch.test.ElasticsearchIntegrationTest.ClusterScope;
|
|
|
import org.elasticsearch.test.InternalTestCluster.RestartCallback;
|
|
|
+import org.elasticsearch.test.junit.annotations.TestLogging;
|
|
|
import org.elasticsearch.test.store.MockDirectoryHelper;
|
|
|
import org.junit.Test;
|
|
|
|
|
|
@@ -54,6 +54,7 @@ import static org.hamcrest.Matchers.*;
|
|
|
*/
|
|
|
@ClusterScope(numDataNodes = 0, scope = Scope.TEST)
|
|
|
@Slow
|
|
|
+@TestLogging("index.shard.service:TRACE")
|
|
|
public class SimpleRecoveryLocalGatewayTests extends ElasticsearchIntegrationTest {
|
|
|
|
|
|
private ImmutableSettings.Builder settingsBuilder() {
|