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.index.IndexServiceTests.testAsyncTranslogTrimTaskOnClosedIndex flaky #5414

Closed
dreamer-89 opened this issue Nov 30, 2022 · 1 comment · Fixed by #5681
Closed
Labels
bug Something isn't working flaky-test Random test failure that succeeds on second run

Comments

@dreamer-89
Copy link
Member

dreamer-89 commented Nov 30, 2022

Coming from #5412 (comment)

REPRODUCE WITH: ./gradlew ':server:test' --tests "org.opensearch.index.IndexServiceTests.testAsyncTranslogTrimTaskOnClosedIndex" -Dtests.seed=B03404687BA373C2 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=es-US -Dtests.timezone=GB -Druntime.java=19

org.opensearch.index.IndexServiceTests > testAsyncTranslogTrimTaskOnClosedIndex FAILED
    java.lang.AssertionError: 
    Expected: <55L>
         but: was <110L>
        at __randomizedtesting.SeedInfo.seed([B03404687BA373C2:774AF1F12A370F5F]:0)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
        at org.junit.Assert.assertThat(Assert.java:964)
        at org.junit.Assert.assertThat(Assert.java:930)
        at org.opensearch.index.IndexServiceTests.lambda$testAsyncTranslogTrimTaskOnClosedIndex$12(IndexServiceTests.java:450)
        at org.opensearch.test.OpenSearchTestCase.assertBusy(OpenSearchTestCase.java:1049)
        at org.opensearch.test.OpenSearchTestCase.assertBusy(OpenSearchTestCase.java:1022)
        at org.opensearch.index.IndexServiceTests.testAsyncTranslogTrimTaskOnClosedIndex(IndexServiceTests.java:449)
@dreamer-89 dreamer-89 added bug Something isn't working untriaged labels Nov 30, 2022
@dblock dblock added the flaky-test Random test failure that succeeds on second run label Dec 1, 2022
@dblock
Copy link
Member

dblock commented Dec 1, 2022

#5418 (comment)

@dblock dblock changed the title [BUG] testAsyncTranslogTrimTaskOnClosedIndex flaky test [BUG] org.opensearch.index.IndexServiceTests.testAsyncTranslogTrimTaskOnClosedIndex flaky Dec 1, 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
2 participants