Light, fluffy, and always free - The AWS Local Emulator alternative
fix(test): isolate MQTT WebSocket concurrency from TLS (#3431)
Franklin G. Mendoza9f36a8729fe1
diff --git a/src/test/java/io/github/hectorvent/floci/services/iot/IotMqttWebSocketIntegrationTest.java b/src/test/java/io/github/hectorvent/floci/services/iot/IotMqttWebSocketIntegrationTest.javaindex 665cbf8d7d..bfe0cbb47d 100644--- a/src/test/java/io/github/hectorvent/floci/services/iot/IotMqttWebSocketIntegrationTest.java+++ b/src/test/java/io/github/hectorvent/floci/services/iot/IotMqttWebSocketIntegrationTest.java@@ -241,7 +241,7 @@ public class IotMqttWebSocketIntegrationTest {String clientId = "ws-fanout-" + i + "-" + System.nanoTime();Thread thread = new Thread(() -> {try {- WsClient subscriber = WsClient.connect(wss("/mqtt"), clientId, null, null);+ WsClient subscriber = WsClient.connect(ws("/mqtt"), clientId, null, null);subscriber.subscribe(topic);synchronized (subscribers) {subscribers.add(subscriber);