diff --git a/core-server/src/test/java/org/glassfish/jersey/server/ContainerResponseWriterNoFlushTest.java b/core-server/src/test/java/org/glassfish/jersey/server/ContainerResponseWriterNoFlushTest.java index bccaafff16..067d9e2bb5 100644 --- a/core-server/src/test/java/org/glassfish/jersey/server/ContainerResponseWriterNoFlushTest.java +++ b/core-server/src/test/java/org/glassfish/jersey/server/ContainerResponseWriterNoFlushTest.java @@ -73,7 +73,7 @@ private TestContainerWriter(boolean buffering) { public OutputStream writeResponseStatusAndHeaders(long contentLength, ContainerResponse responseContext) throws ContainerException { outputStream = new TestResponseOutputStream(); - responseContext.setEntityStream(outputStream); +// responseContext.setEntityStream(outputStream); return outputStream; }