arturobernalg commented on PR #495: URL: https://github.com/apache/httpcomponents-client/pull/495#issuecomment-1773858559
> @arturobernalg > > I just saw this error with the latest code in one of my CI runs. Could you please take a look at it as well? > > ``` > [INFO] Running org.apache.hc.client5.http.impl.classic.TestLinearBackoffManager > Error: Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.008 s <<< FAILURE! - in org.apache.hc.client5.http.impl.classic.TestLinearBackoffManager > Error: org.apache.hc.client5.http.impl.classic.TestLinearBackoffManager.backoffDoesNotAdjustDuringCoolDownPeriod Time elapsed: 0.002 s <<< FAILURE! > org.opentest4j.AssertionFailedError: expected: <5> but was: <6> > at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) > at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) > at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197) > at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:166) > at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:161) > at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:629) > at org.apache.hc.client5.http.impl.classic.TestLinearBackoffManager.backoffDoesNotAdjustDuringCoolDownPeriod(TestLinearBackoffManager.java:88) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ``` HI @ok2c I've adjusted the `backoffDoesNotAdjustDuringCoolDownPeriod` test to better simulate the cool-down period by manipulating the `lastRouteBackoffs` map. TY -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
