Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-1340

BackoffLimitedRetryHandlerTest randomly fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.1.0
    • Component/s: jclouds-core
    • Labels:
      None

      Description

      These tests randomly fail in CI:

      testExponentialBackoffDelaySmallInterval1(org.jclouds.http.handlers.BackoffLimitedRetryHandlerTest)  Time elapsed: 0.004 sec  <<< FAILURE!
      java.lang.AssertionError: expected [true] but found [false]
              at org.testng.Assert.fail(Assert.java:94)
              at org.testng.Assert.failNotEquals(Assert.java:494)
              at org.testng.Assert.assertTrue(Assert.java:42)
              at org.testng.Assert.assertTrue(Assert.java:52)
              at org.jclouds.http.handlers.BackoffLimitedRetryHandlerTest.testExponentialBackoffDelaySmallInterval1(BackoffLimitedRetryHandlerTest.java:105)
      

      These tests sleep and are thus racy on overloaded machines like CloudBees. We should either change the acceptableDelay or disable the tests.

        Attachments

          Activity

            People

            • Assignee:
              gaul Andrew Gaul
              Reporter:
              gaul Andrew Gaul
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: