diff --git a/server/src/test/java/org/opensearch/gateway/GatewayAllocatorTests.java b/server/src/test/java/org/opensearch/gateway/GatewayAllocatorTests.java index 49e9b8c550242..8849a5cfdcf60 100644 --- a/server/src/test/java/org/opensearch/gateway/GatewayAllocatorTests.java +++ b/server/src/test/java/org/opensearch/gateway/GatewayAllocatorTests.java @@ -385,6 +385,7 @@ public void testCollectTimedOutShards() { executor.run(); assertEquals(100, testShardsBatchGatewayAllocator.getTimedOutReplicaShardIds().size()); } + public void testPrimaryAllocatorTimeout() { // Valid setting with timeout = 20s Settings build = Settings.builder().put(PRIMARY_BATCH_ALLOCATOR_TIMEOUT_SETTING_KEY, "20s").build();