[
https://issues.apache.org/jira/browse/JCLOUDS-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16162348#comment-16162348
]
ASF subversion and git services commented on JCLOUDS-1340:
----------------------------------------------------------
Commit 64553eda5f38e8fe8b805fd4d350e833107f6670 in jclouds's branch
refs/heads/master from [~gaul]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=64553ed ]
JCLOUDS-1340: Improve BackoffLimitedRetryHandlerTest asserts
These emit a more specific error message.
> BackoffLimitedRetryHandlerTest randomly fails
> ---------------------------------------------
>
> Key: JCLOUDS-1340
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1340
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-core
> Affects Versions: 2.0.2
> 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)