diff --git a/client/src/test/java/org/asynchttpclient/request/body/multipart/MultipartBasicAuthTest.java b/client/src/test/java/org/asynchttpclient/request/body/multipart/MultipartBasicAuthTest.java index ea05f2030c..ecb24ab4ec 100644 --- a/client/src/test/java/org/asynchttpclient/request/body/multipart/MultipartBasicAuthTest.java +++ b/client/src/test/java/org/asynchttpclient/request/body/multipart/MultipartBasicAuthTest.java @@ -25,11 +25,7 @@ import java.util.concurrent.ExecutionException; import java.util.function.Function; -import org.asynchttpclient.AbstractBasicTest; -import org.asynchttpclient.AsyncHttpClient; -import org.asynchttpclient.BasicAuthTest; -import org.asynchttpclient.BoundRequestBuilder; -import org.asynchttpclient.Response; +import org.asynchttpclient.*; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.ServerConnector; import org.eclipse.jetty.server.handler.AbstractHandler; @@ -71,7 +67,6 @@ private void expectBrokenPipe(Function } assertTrue(cause instanceof IOException, "Expected an IOException"); - assertEquals(cause.getMessage(), "Broken pipe"); } @Test(groups = "standalone")