Skip to content

Commit

Permalink
Fix flaky test in HttpRequestNotSubscribedTest
Browse files Browse the repository at this point in the history
  • Loading branch information
minwoox committed Jun 15, 2023
1 parent a43a637 commit 9ee82c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ public HttpResponse foo() {
void nullRequestCause() throws InterruptedException {
assertThat(server.blockingWebClient().get("/foo").status()).isSameAs(HttpStatus.OK);
final ServiceRequestContext ctx = server.requestContextCaptor().take();
assertThat(ctx.log().ensureComplete().requestCause()).isNull();
assertThat(ctx.log().whenComplete().join().requestCause()).isNull();
}
}

0 comments on commit 9ee82c7

Please sign in to comment.