Describe the bug
Caught on PR #1952. The test timed out while waiting for the cluster to become green. Related PR for test: #1445.
REPRODUCE WITH: ./gradlew ':server:test' --tests "org.opensearch.cluster.routing.MovePrimaryFirstTests.testClusterGreenAfterPartialRelocation" -Dtests.seed=AF1232B890DC88C7 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=he-IL -Dtests.timezone=Japan -Druntime.java=17
To Reproduce
Steps to reproduce the behavior:
- Run the above command in the repo. Its a flaky test.
Expected behavior
The cluster becomes green and the test does not timeout.
Plugins
Core OpenSearch.
Host/Environment (please complete the following information):