Skip to content

[BUG] InternalTestClusterTests.testDataFolderAssignmentAndCleaning is flaky #12743

Open
@peteralfonsi

Description

Describe the bug

The test sometimes fails with a ClusterManagerNotDiscoveredException.

Related component

Other

To Reproduce

./gradlew ':test:framework:test' --tests "org.opensearch.test.test.InternalTestClusterTests.testDataFolderAssignmentAndCleaning" -Dtests.seed=B5A3BA2C240332A6 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=nb-NO -Dtests.timezone=America/Scoresbysund -Druntime.java=21

Expected behavior

The test should always pass.

Additional Details

CI with failure: https://build.ci.opensearch.org/job/gradle-check/35241/

Metadata

Assignees

No one assigned

    Labels

    :testAdding or fixing a testOtherbugSomething 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