diff --git a/tests/test-http-client-transport/src/test/java/org/eclipse/jetty/http/client/HttpClientContinueTest.java b/tests/test-http-client-transport/src/test/java/org/eclipse/jetty/http/client/HttpClientContinueTest.java index deebe148bc52..00d935c7a40b 100644 --- a/tests/test-http-client-transport/src/test/java/org/eclipse/jetty/http/client/HttpClientContinueTest.java +++ b/tests/test-http-client-transport/src/test/java/org/eclipse/jetty/http/client/HttpClientContinueTest.java @@ -73,7 +73,7 @@ public class HttpClientContinueTest extends AbstractTest @AfterEach public void dispose() { - if (scenario == null) + if (scenario == null || scenario.connector == null) return; ByteBufferPool bbp = scenario.connector.getByteBufferPool(); if (bbp == null)