Skip to content

[BUG] SearchWeightedRoutingIT.testStrictWeightedRoutingWithCustomString_FailOpenEnabled is flaky #12708

@peteralfonsi

Description

@peteralfonsi

Describe the bug

The test fails after failing to connect to a node.

Related component

Other

To Reproduce

./gradlew ':server:internalClusterTest' --tests "org.opensearch.search.SearchWeightedRoutingIT.testStrictWeightedRoutingWithCustomString_FailOpenEnabled" -Dtests.seed=82A1FB3388D19A93 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=nl -Dtests.timezone=Asia/Tokyo -Druntime.java=21

Expected behavior

The test should always pass.

Additional Details

CI link with test output: https://build.ci.opensearch.org/job/gradle-check/35095/testReport/junit/org.opensearch.search/SearchWeightedRoutingIT/testStrictWeightedRoutingWithCustomString_FailOpenEnabled/

Metadata

Metadata

Assignees

No one assigned

    Labels

    OtherbugSomething 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