mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
[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…
x
Reference in New Issue
Block a user