Browse Source

Merge pull request #6941 from volodymyr-babak/queue-black-box-tests

pull/6946/head
Andrew Shvayka 4 years ago
committed by GitHub
parent
commit
f68f103ce9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      msa/black-box-tests/src/test/java/org/thingsboard/server/msa/AbstractContainerTest.java

2
msa/black-box-tests/src/test/java/org/thingsboard/server/msa/AbstractContainerTest.java

@ -131,7 +131,7 @@ public abstract class AbstractContainerTest {
}
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();
builder.loadTrustMaterial(null, (TrustStrategy) (chain, authType) -> true);
wsClient.setSocketFactory(builder.build().getSocketFactory());

Loading…
Cancel
Save