[TEST] Increase time waiting for all shards to move off/on to a node
This commit is contained in:
parent
c28eee77df
commit
a9b2e172fa
|
@ -71,6 +71,7 @@ import java.util.List;
|
|||
import java.util.concurrent.CopyOnWriteArrayList;
|
||||
import java.util.concurrent.CountDownLatch;
|
||||
import java.util.concurrent.ExecutionException;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.concurrent.atomic.AtomicBoolean;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
||||
|
@ -698,7 +699,7 @@ public class IndexWithShadowReplicasIT extends ESIntegTestCase {
|
|||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
}, 1, TimeUnit.MINUTES);
|
||||
}
|
||||
|
||||
/** wait until the node has the specified number of shards allocated on it */
|
||||
|
@ -715,7 +716,7 @@ public class IndexWithShadowReplicasIT extends ESIntegTestCase {
|
|||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
}, 1, TimeUnit.MINUTES);
|
||||
}
|
||||
|
||||
public void testIndexOnSharedFSRecoversToAnyNode() throws Exception {
|
||||
|
|
Loading…
Reference in New Issue