Skip to content
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.cluster.routing.allocation.IndexShardHotSpotTests.testSkewedClusterScaleOut intermittent failure #2091

Closed
dblock opened this issue Feb 11, 2022 · 1 comment
Labels
bug Something isn't working flaky-test Random test failure that succeeds on second run

Comments

@dblock
Copy link
Member

dblock commented Feb 11, 2022

Describe the bug

From #2090 (comment)

> Task :server:test

REPRODUCE WITH: ./gradlew ':server:test' --tests "org.opensearch.cluster.routing.allocation.IndexShardHotSpotTests.testSkewedClusterScaleOut" -Dtests.seed=75E02AFCC6453F60 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=nl -Dtests.timezone=America/Knox_IN -Druntime.java=17

org.opensearch.cluster.routing.allocation.IndexShardHotSpotTests > testSkewedClusterScaleOut FAILED
    java.lang.AssertionError
        at __randomizedtesting.SeedInfo.seed([75E02AFCC6453F60:A184949F2E2E9485]:0)
        at org.junit.Assert.fail(Assert.java:87)
        at org.junit.Assert.assertTrue(Assert.java:42)
        at org.junit.Assert.assertTrue(Assert.java:53)
        at org.opensearch.cluster.routing.allocation.IndexShardHotSpotTests.testSkewedClusterScaleOut(IndexShardHotSpotTests.java:66)
WARNING: A terminally deprecated method in java.lang.System has been called

@tlfeng
Copy link
Collaborator

tlfeng commented Dec 7, 2022

The failed assertion for this test was


but the test was refactored in the commit 5dfd05c. The failed assertion was removed, because the author of the above commit thought it was useless and confusing, seeing from the commit description and the comment here https://github.com/opensearch-project/OpenSearch/pull/680/files#r745565395.
I think it's fair to close this issue.

@tlfeng tlfeng closed this as completed Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working flaky-test Random test failure that succeeds on second run
Projects
None yet
Development

No branches or pull requests

3 participants