-
Notifications
You must be signed in to change notification settings - Fork 2.5k
[BUG] Flaky test ClusterShardLimitIT.testCreateIndexWithMaxClusterShardSetting #6287
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingflaky-testRandom test failure that succeeds on second runRandom test failure that succeeds on second run
Description
Describe the bug
Error Message
java.lang.AssertionError: MaxShardPerCluster 3 should be greater than or equal to MaxShardPerNode 1000
Stacktrace
java.lang.AssertionError: MaxShardPerCluster 3 should be greater than or equal to MaxShardPerNode 1000
at __randomizedtesting.SeedInfo.seed([CF6070B40FF53C63:8586810AA2ABFADB]:0)
at org.junit.Assert.fail(Assert.java:89)
at org.opensearch.cluster.shards.ClusterShardLimitIT.setMaxShardLimit(ClusterShardLimitIT.java:750)
at org.opensearch.cluster.shards.ClusterShardLimitIT.testCreateIndexWithMaxClusterShardSetting(ClusterShardLimitIT.java:259)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
To Reproduce
Build failure - https://build.ci.opensearch.org/job/gradle-check/11004/testReport/junit/org.opensearch.cluster.shards/ClusterShardLimitIT/testCreateIndexWithMaxClusterShardSetting/
Auto cut - #6286
Expected behavior
The test should pass always.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingflaky-testRandom test failure that succeeds on second runRandom test failure that succeeds on second run