From c52d2c48f3edebeaa6707a8d45ea295894ac8e99 Mon Sep 17 00:00:00 2001 From: Martin Traverse Date: Sun, 8 Dec 2024 23:18:54 +0000 Subject: [PATCH] Fix lib common tests --- .../tracdap/common/netty/ProtocolNegotiatorTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tracdap-libs/tracdap-lib-common/src/test/java/org/finos/tracdap/common/netty/ProtocolNegotiatorTest.java b/tracdap-libs/tracdap-lib-common/src/test/java/org/finos/tracdap/common/netty/ProtocolNegotiatorTest.java index c67568220..93b336b37 100644 --- a/tracdap-libs/tracdap-lib-common/src/test/java/org/finos/tracdap/common/netty/ProtocolNegotiatorTest.java +++ b/tracdap-libs/tracdap-lib-common/src/test/java/org/finos/tracdap/common/netty/ProtocolNegotiatorTest.java @@ -92,13 +92,13 @@ protected ChannelHandler http2PrimaryHandler() { } @Override - protected ChannelHandler wsPrimaryHandler() { - return ws.get(); + protected WebSocketServerProtocolConfig wsProtocolConfig(HttpRequest upgradeRequest) { + return WebSocketServerProtocolConfig.newBuilder().build(); } @Override - protected WebSocketServerProtocolConfig wsProtocolConfig() { - return WebSocketServerProtocolConfig.newBuilder().build(); + protected ChannelHandler wsPrimaryHandler() { + return ws.get(); } }