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

BackoffLimitedRetryHandlerTest randomly fails

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.2
    • 2.1.0
    • jclouds-core
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment