Skip to content

Commit

Permalink
[test] Increase the timeout for the flaky tests
Browse files Browse the repository at this point in the history
  • Loading branch information
violetagg committed Jun 18, 2024
1 parent b146cb1 commit 1cb7c4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ private void assertSendFile(Function<HttpServerResponse, NettyOutbound> fn, bool
.uri("/foo")
.responseSingle((res, byteBufMono) -> byteBufMono.asString(StandardCharsets.UTF_8));

String body = response.block(Duration.ofSeconds(5));
String body = response.block(Duration.ofSeconds(30));

bodyAssertion.accept(body);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ void httpServerRequestConfigInjectAttributes() {
.responseContent()
.aggregate()
.asString()
.block(Duration.ofSeconds(5));
.block(Duration.ofSeconds(30));

assertThat(channelRef.get()).isNotNull();
assertThat(chunkSize).as("line length").hasValue(789);
Expand Down

0 comments on commit 1cb7c4b

Please sign in to comment.