Browse Source

tests: fixed Coap X509 Test client by calling dtlsConnector.destroy() on client.disconnect();

pull/14850/head
Sergey Matvienko 8 months ago
parent
commit
189c2ac6ae
  1. 3
      application/src/test/java/org/thingsboard/server/transport/coap/x509/CoapClientX509Test.java

3
application/src/test/java/org/thingsboard/server/transport/coap/x509/CoapClientX509Test.java

@ -97,6 +97,9 @@ public class CoapClientX509Test {
if (clientX509 != null) {
clientX509.shutdown();
}
if (dtlsConnector != null) {
dtlsConnector.destroy();
}
}
public CoapResponse postMethod(String requestBody) throws ConnectorException, IOException {

Loading…
Cancel
Save