Merge pull request #6941 from volodymyr-babak/queue-black-box-tests
This commit is contained in:
commit
f68f103ce9
@ -131,7 +131,7 @@ public abstract class AbstractContainerTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected WsClient subscribeToWebSocket(DeviceId deviceId, String scope, CmdsType property) throws Exception {
|
protected WsClient subscribeToWebSocket(DeviceId deviceId, String scope, CmdsType property) throws Exception {
|
||||||
WsClient wsClient = new WsClient(new URI(WSS_URL + "/api/ws/plugins/telemetry?token=" + restClient.getToken()));
|
WsClient wsClient = new WsClient(new URI(WSS_URL + "/api/ws/plugins/telemetry?token=" + restClient.getToken()), timeoutMultiplier);
|
||||||
SSLContextBuilder builder = SSLContexts.custom();
|
SSLContextBuilder builder = SSLContexts.custom();
|
||||||
builder.loadTrustMaterial(null, (TrustStrategy) (chain, authType) -> true);
|
builder.loadTrustMaterial(null, (TrustStrategy) (chain, authType) -> true);
|
||||||
wsClient.setSocketFactory(builder.build().getSocketFactory());
|
wsClient.setSocketFactory(builder.build().getSocketFactory());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user