Skip to content

[BUG] ClusterMaxMergesAtOnceIT is flaky #18056

@andrross

Description

@andrross

Describe the bug

This is a new test that fails with the seed below. I'm creating this issue to force a follow up as I will be muting this IT.

Related component

Indexing

To Reproduce

./gradlew ':server:internalClusterTest' --tests "org.opensearch.index.ClusterMaxMergesAtOnceIT.testClusterLevelDefaultUpdatesMergePolicy" -Dtests.seed=2BD0981DD7D9F5EF

ClusterMaxMergesAtOnceIT > testClusterLevelDefaultUpdatesMergePolicy FAILED
    java.lang.NullPointerException: Cannot invoke "org.opensearch.index.IndexService.getIndexSettings()" because "thirdIndexService" is null
        at __randomizedtesting.SeedInfo.seed([2BD0981DD7D9F5EF:5E508FCB086B2864]:0)
        at org.opensearch.index.ClusterMaxMergesAtOnceIT.testClusterLevelDefaultUpdatesMergePolicy(ClusterMaxMergesAtOnceIT.java:110)

Expected behavior

Test should not be flaky

Additional Details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    IndexingIndexing, Bulk Indexing and anything related to indexingbugSomething isn't workingdisabled-testIssues that are used by an AwaitsFix annotation to temporarily disable a broken testflaky-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