[BUG] org.opensearch.cluster.routing.remote.RemoteRoutingTableServiceTests.testGetIndicesRoutingMapDiffIndexAdded is flaky #14263
Labels
bug
Something isn't working
Cluster Manager
flaky-test
Random test failure that succeeds on second run
Describe the bug
The test case org.opensearch.cluster.routing.remote.RemoteRoutingTableServiceTests.testGetIndicesRoutingMapDiffIndexAdded is flaky, seems caused by
randomInt(1000)
that can give0
but invalid when settingnumber_of_shards
.Full report: https://build.ci.opensearch.org/job/gradle-check/40899/testReport/junit/org.opensearch.cluster.routing.remote/RemoteRoutingTableServiceTests/testGetIndicesRoutingMapDiffIndexAdded/
Related component
Storage:Remote
To Reproduce
REPRODUCE WITH: ./gradlew ':server:test' --tests "org.opensearch.cluster.routing.remote.RemoteRoutingTableServiceTests.testGetIndicesRoutingMapDiffIndexAdded" -Dtests.seed=763DAFDC445B8243 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=ca-ES -Dtests.timezone=SystemV/MST7 -Druntime.java=21
Expected behavior
The test case should always success.
Additional Details
No response
The text was updated successfully, but these errors were encountered: