-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]org.opensearch.indices.replication.SegmentReplicationAllocationIT.testSingleIndexShardAllocation is flaky #11299
Comments
The test creates 50 shard 1 replica for single index on a 5 data node cluster with one dedicated cluster manager node. The assertion to ensure green cluster trips post stopping one data node. The request to obtain cluster health times out even though all shards are in assigned state. I don't understand the reason for request time out here. Tagging folks who may know and can help @shwetathareja @soosinha.
|
@dreamer-89 Looks like the cluster health is not moving to green. Can you print and check the cluster health information while |
Thanks @soosinha for the reply. From logs, I see cluster indeed turned green post node shutdown but did not respond to cluster health call.
|
Closing in favour of #14327 |
Describe the bug
See the test failure: https://build.ci.opensearch.org/job/gradle-check/28158/testReport/junit/org.opensearch.indices.replication/SegmentReplicationAllocationIT/testSingleIndexShardAllocation/
To Reproduce
REPRODUCE WITH: ./gradlew ':server:internalClusterTest' --tests "org.opensearch.indices.replication.SegmentReplicationAllocationIT.testSingleIndexShardAllocation" -Dtests.seed=7F70CFAC7DF5CE33 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=tr -Dtests.timezone=Asia/Oral -Druntime.java=17
Expected behavior
Fix the flaky test.
The text was updated successfully, but these errors were encountered: