You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Andrew Gaul (JIRA)" <ji...@apache.org> on 2017/09/09 23:32:00 UTC

[jira] [Created] (JCLOUDS-1340) BackoffLimitedRetryHandlerTest randomly fails

Andrew Gaul created JCLOUDS-1340:
------------------------------------

             Summary: BackoffLimitedRetryHandlerTest randomly fails
                 Key: JCLOUDS-1340
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1340
             Project: jclouds
          Issue Type: Bug
            Reporter: Andrew Gaul


These tests randomly fail in CI:

{noformat}
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)
{noformat}

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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)