Set null exception handler on WebSocket before closing the proxy
@@ -287,8 +287,8 @@ public class ApolloWSHandlerTest extends WebTestBase {
if (subscriptionRef.get() == null) {
fail("Expected a live subscription");
} else {
- proxy.closeAbruptly(onSuccess(v -> {
websocket.exceptionHandler(null);
+ proxy.closeAbruptly(onSuccess(v -> {
testComplete();
}));
}
