Skip to content

DiskThresholdDeciderIT.testIndexCreateBlockWithAReadOnlyBlock is flaky #5956

@andrross

Description

@andrross

See https://build.ci.opensearch.org/job/gradle-check/9659/

REPRODUCE WITH: ./gradlew ':server:internalClusterTest' --tests "org.opensearch.cluster.routing.allocation.decider.DiskThresholdDeciderIT.testIndexCreateBlockWithAReadOnlyBlock" -Dtests.seed=47FA74E827DEE212 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=th-TH -Dtests.timezone=Africa/Djibouti -Druntime.java=19

org.opensearch.cluster.routing.allocation.decider.DiskThresholdDeciderIT > testIndexCreateBlockWithAReadOnlyBlock FAILED
    java.lang.AssertionError
        at __randomizedtesting.SeedInfo.seed([47FA74E827DEE212:57BCB87090067887]: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.decider.DiskThresholdDeciderIT.lambda$testIndexCreateBlockWithAReadOnlyBlock$11(DiskThresholdDeciderIT.java:297)
        at org.opensearch.test.OpenSearchTestCase.assertBusy(OpenSearchTestCase.java:1049)
        at org.opensearch.cluster.routing.allocation.decider.DiskThresholdDeciderIT.testIndexCreateBlockWithAReadOnlyBlock(DiskThresholdDeciderIT.java:295)

This was introduced in #5852. Maybe this is what #5952 is trying to fix? @RS146BIJAY

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdistributed frameworkflaky-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