Issue #300 - fix test expectation after CompressExtension changes
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
parent
50c18798ba
commit
d69bf31494
|
@ -19,6 +19,7 @@
|
|||
package org.eclipse.jetty.websocket.tests;
|
||||
|
||||
import java.net.URI;
|
||||
import java.nio.channels.ClosedChannelException;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import org.eclipse.jetty.server.Server;
|
||||
|
@ -108,7 +109,7 @@ public class WriteAfterStopTest
|
|||
|
||||
try (StacklessLogging stacklessLogging = new StacklessLogging(CompressExtension.class))
|
||||
{
|
||||
assertThrows(NullPointerException.class,
|
||||
assertThrows(ClosedChannelException.class,
|
||||
() -> session.getRemote().sendString("hello world"));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue