Fix black box tests WS Client

This commit is contained in:
Igor Kulikov 2020-07-09 11:28:39 +03:00
parent 33eec47856
commit 0894b23b93

View File

@ -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);
}
}