diff options
Diffstat (limited to 'models-interactions/model-impl/cds')
-rw-r--r-- | models-interactions/model-impl/cds/src/test/java/org/onap/policy/cds/client/CdsProcessorGrpcClientTest.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/models-interactions/model-impl/cds/src/test/java/org/onap/policy/cds/client/CdsProcessorGrpcClientTest.java b/models-interactions/model-impl/cds/src/test/java/org/onap/policy/cds/client/CdsProcessorGrpcClientTest.java index 1a35064ca..b0a605b8c 100644 --- a/models-interactions/model-impl/cds/src/test/java/org/onap/policy/cds/client/CdsProcessorGrpcClientTest.java +++ b/models-interactions/model-impl/cds/src/test/java/org/onap/policy/cds/client/CdsProcessorGrpcClientTest.java @@ -152,9 +152,7 @@ class CdsProcessorGrpcClientTest { @Test void testCdsProcessorGrpcClientConstructorFailure() { props.setHost(null); - assertThrows(IllegalStateException.class, () -> { - new CdsProcessorGrpcClient(listener, props).close(); - }); + assertThrows(IllegalStateException.class, () -> new CdsProcessorGrpcClient(listener, props)); } @Test |