diff --git a/core/src/test/java/com/linecorp/armeria/client/ContextCancellationTest.java b/core/src/test/java/com/linecorp/armeria/client/ContextCancellationTest.java index 04b9b341b78..4424599e7ac 100644 --- a/core/src/test/java/com/linecorp/armeria/client/ContextCancellationTest.java +++ b/core/src/test/java/com/linecorp/armeria/client/ContextCancellationTest.java @@ -111,8 +111,6 @@ void cancel_beforeDelegate(TestInfo testInfo) { .hasRootCause(t); assertThat(connListener.opened()).isEqualTo(0); assertThat(requests).doesNotContain(testInfo.getDisplayName()); - // don't validate the thread since we haven't started with event loop scheduling yet - validateCallbackChecks(null); } } @@ -149,8 +147,6 @@ void cancel_beforeConnection(TestInfo testInfo) { .hasCauseInstanceOf(UnprocessedRequestException.class) .hasRootCause(t); assertThat(requests).doesNotContain(testInfo.getDisplayName()); - // don't validate the thread since we haven't started with event loop scheduling yet - validateCallbackChecks(null); } }