Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

HttpClientTest shouldCloseConnectionOnTimeoutDuringContentReceive is flaky #70

Closed
splitfeed opened this issue Jun 11, 2018 · 0 comments · Fixed by #86
Closed

HttpClientTest shouldCloseConnectionOnTimeoutDuringContentReceive is flaky #70

splitfeed opened this issue Jun 11, 2018 · 0 comments · Fixed by #86

Comments

@splitfeed
Copy link
Contributor

The test randomly seems to fail both locally and on Travis, but I fail to see any obvious reason for it.

org.mockito.exceptions.verification.TooLittleActualInvocations: 
consumer.accept(
    "/hello/servertest/slowBody"
);
Wanted 11 times:
-> at se.fortnox.reactivewizard.client.HttpClientTest.shouldCloseConnectionOnTimeoutDuringContentReceive(HttpClientTest.java:562)
But was 10 times:
-> at se.fortnox.reactivewizard.client.HttpClientTest.lambda$createTestServer$12(HttpClientTest.java:509)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant