fix(test): isolate MQTT WebSocket concurrency from TLS (#3431)

This commit is contained in:
Franklin G. Mendoza authored and GitHub committed 2026-09-11 18:52:50 -04:00
1 parent 07d6cabd8a
commit 9f36a8729f
1 file changed
+1 -1
@@ -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);