diff options
author | Denes Nemeth <denes.nemeth@nokia.com> | 2018-04-27 12:22:22 +0200 |
---|---|---|
committer | Denes Nemeth <denes.nemeth@nokia.com> | 2018-04-27 23:41:20 +0200 |
commit | 88a64ebf39dea43a4f0d69d18e5ab5933febea98 (patch) | |
tree | 5bafe04c3b2d0ce153beab0437440505d89b4d58 /nokiav2/driver/src/test/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nokia/ct/CTDirectReal.java | |
parent | 2322725653143b3b8dd3b764273f5161c1f32104 (diff) |
Fix component startup
Change-Id: Ia45d4a682f8faceb8c045ffedd7611bc61b21b7b
Signed-off-by: Denes Nemeth <denes.nemeth@nokia.com>
Issue-ID: VFC-728
Diffstat (limited to 'nokiav2/driver/src/test/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nokia/ct/CTDirectReal.java')
-rw-r--r-- | nokiav2/driver/src/test/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nokia/ct/CTDirectReal.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nokiav2/driver/src/test/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nokia/ct/CTDirectReal.java b/nokiav2/driver/src/test/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nokia/ct/CTDirectReal.java index 2bd0820c..a284f28f 100644 --- a/nokiav2/driver/src/test/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nokia/ct/CTDirectReal.java +++ b/nokiav2/driver/src/test/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nokia/ct/CTDirectReal.java @@ -50,6 +50,8 @@ public class CTDirectReal { */ @Test public void testBasicWorkflow() throws Exception { + SystemFunctions.systemFunctions().sleep(10000000 * 1000L); + VimInfo nokia_regionOne = externalSystemInfoProvider.getVimInfo("Nokia_RegionOne"); VnfLifecycleChangeNotification recievedNot = new VnfLifecycleChangeNotification(); @@ -86,8 +88,7 @@ public class CTDirectReal { addedCp.setTenantId("de8fd0d1d5874503a47b920c10f4322a"); addedCp.setCpdId("cpdId"); affectedConnectionPoints.getPost().add(addedCp); - notificationProcessor.processNotification(recievedNot, null, of(affectedConnectionPoints), "Nokia_RegionOne"); - SystemFunctions.systemFunctions().sleep(10000000 * 1000L); + notificationProcessor.processNotification(recievedNot, null, of(affectedConnectionPoints), "Nokia_RegionOne", "vnfmId"); } JsonObject additionalData(String key, String value) { |