[BUG] InternalTestClusterTests.testDataFolderAssignmentAndCleaning is flaky #12743
Open
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/