mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
fix(test): isolate MQTT WebSocket concurrency from TLS (#3431)
This commit is contained in:
1 parent
07d6cabd8a
commit
9f36a8729f
1 file changed
+1
-1
+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);
|
||||
|
||||
Reference in new issue
Block a user