Skip to content

[BUG] org.opensearch.index.IndexServiceTests.testAsyncTranslogTrimTaskOnClosedIndex flaky #5414

@dreamer-89

Description

@dreamer-89

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingflaky-testRandom test failure that succeeds on second run

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions