[SB3] Change from doHandshake to execute.

This commit is contained in:
Corneil du Plessis
2022-11-17 16:16:04 +02:00
parent c6b4ad3661
commit 751d130b09

View File

@@ -157,7 +157,7 @@ public class WebsocketConsumerTests {
private WebSocketSession doHandshake(WebsocketConsumerClientHandler handler)
throws InterruptedException, ExecutionException {
String wsEndpoint = "ws://localhost:" + this.consumerServer.getPort() + this.properties.getPath();
return new StandardWebSocketClient().doHandshake(handler, wsEndpoint).get();
return new StandardWebSocketClient().execute(handler, wsEndpoint).get();
}
private List<String> submitMultipleMessages(int messageCount) {