File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
server/src/internalClusterTest/java/org/elasticsearch/cluster/allocation Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1111
1212import org .apache .logging .log4j .Level ;
1313import org .apache .lucene .tests .util .LuceneTestCase ;
14+ import org .apache .lucene .util .Constants ;
1415import org .elasticsearch .action .admin .cluster .health .ClusterHealthResponse ;
1516import org .elasticsearch .action .admin .cluster .reroute .ClusterRerouteRequest ;
1617import org .elasticsearch .action .admin .cluster .reroute .ClusterRerouteResponse ;
@@ -231,8 +232,8 @@ public void testDelayWithALargeAmountOfShards() throws Exception {
231232 logger .info ("--> stopping node1" );
232233 internalCluster ().stopNode (node1 );
233234
234- // This might run slowly on older hardware
235- ensureGreen (TimeValue .timeValueMinutes (2 ));
235+ // This might run slowly on older hardware and on Windows see #137384
236+ ensureGreen (TimeValue .timeValueMinutes (Constants . WINDOWS ? 4 : 2 ));
236237 }
237238
238239 private void rerouteWithAllocateLocalGateway (Settings commonSettings ) throws Exception {
You can’t perform that action at this time.
0 commit comments