aboutsummaryrefslogtreecommitdiffstats
path: root/generic-resource-api/provider/src/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'generic-resource-api/provider/src/test/java')
-rw-r--r--generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/TestGenericResourceApi.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/TestGenericResourceApi.java b/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/TestGenericResourceApi.java
index 1230cd26..dd1523d0 100644
--- a/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/TestGenericResourceApi.java
+++ b/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/TestGenericResourceApi.java
@@ -57,7 +57,13 @@ public class TestGenericResourceApi extends AbstractConcurrentDataBrokerTest {
DataBroker dataBroker = getDataBroker();
NotificationPublishService mockNotification = mock(NotificationPublishService.class);
RpcProviderRegistry mockRpcRegistry = mock(RpcProviderRegistry.class);
- genericResourceApiProvider = new GenericResourceApiProvider(dataBroker, mockNotification, mockRpcRegistry);
+
+ try {
+ genericResourceApiProvider = new GenericResourceApiProvider(dataBroker, mockNotification, mockRpcRegistry);
+ } catch (Exception e) {
+ LOG.error("Caught exception on setUp", e);
+ throw e;
+ }
}
}