Skip to content

[BUG] Fix flaky test org.opensearch.clustermanager.ClusterManagerTaskThrottlingIT.testTimeoutWhileThrottling #5452

@Rishikesh1159

Description

@Rishikesh1159

Describe the bug
New flaky test org.opensearch.clustermanager.ClusterManagerTaskThrottlingIT.testTimeoutWhileThrottling

org.opensearch.clustermanager.ClusterManagerTaskThrottlingIT > testTimeoutWhileThrottling FAILED
    java.lang.AssertionError: expected:<1> but was:<0>
        at __randomizedtesting.SeedInfo.seed([2062CE3E58A80654:BE99C32BBA65E511]:0)
        at org.junit.Assert.fail(Assert.java:89)
        at org.junit.Assert.failNotEquals(Assert.java:835)
        at org.junit.Assert.assertEquals(Assert.java:647)
        at org.junit.Assert.assertEquals(Assert.java:633)
        at org.opensearch.clustermanager.ClusterManagerTaskThrottlingIT.testTimeoutWhileThrottling(ClusterManagerTaskThrottlingIT.java:175)

From comment

Found:
-> https://build.ci.opensearch.org/job/gradle-check/6742/
-> https://build.ci.opensearch.org/job/gradle-check/6556/

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Plugins
Please list all plugins currently enabled.

Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething 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