Browse Source

Fix EdgeGrpcSslTest

pull/14618/head
Nikita Mazurenko 5 months ago
parent
commit
c09c821411
  1. 3
      application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSslTest.java

3
application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSslTest.java

@ -171,7 +171,8 @@ class EdgeGrpcSslTest {
Path certOnlyFile = writeTempPem("cert-only", cert);
assertThatThrownBy(() -> startServer(certOnlyFile.toString(), "", null))
.isInstanceOf(IllegalArgumentException.class);
.isInstanceOf(RuntimeException.class)
.hasCauseInstanceOf(IllegalArgumentException.class);
}
// --- Server startup using production EdgeGrpcService.setupSsl() ---

Loading…
Cancel
Save