Fix black box tests WS Client
This commit is contained in:
parent
33eec47856
commit
0894b23b93
@ -21,6 +21,7 @@ import org.java_websocket.client.WebSocketClient;
|
||||
import org.java_websocket.handshake.ServerHandshake;
|
||||
import org.thingsboard.server.msa.mapper.WsTelemetryResponse;
|
||||
|
||||
import javax.net.ssl.SSLParameters;
|
||||
import java.io.IOException;
|
||||
import java.net.URI;
|
||||
import java.util.concurrent.CountDownLatch;
|
||||
@ -89,4 +90,9 @@ public class WsClient extends WebSocketClient {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onSetSSLParameters(SSLParameters sslParameters) {
|
||||
sslParameters.setEndpointIdentificationAlgorithm(null);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user