Skip to content

Commit

Permalink
Fix flaky test in ProxyClientIntegrationTest.testProxyWithH2C (line#2813
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jrhee17 committed Jun 18, 2020
1 parent 1c5435d commit d19060e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ void testProxyWithH2C() throws Exception {
await().until(() -> responseFutures.stream().allMatch(CompletableFuture::isDone));
assertThat(responseFutures.stream().map(CompletableFuture::join))
.allMatch(response -> response.contentUtf8().equals(SUCCESS_RESPONSE));
assertThat(numSuccessfulProxyRequests).isEqualTo(1);
assertThat(numSuccessfulProxyRequests).isGreaterThanOrEqualTo(1);
clientFactory.close();
}

Expand Down

0 comments on commit d19060e

Please sign in to comment.