aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSOInfrastructureBPMN/src/test/java/org
diff options
context:
space:
mode:
authorShailendra Borale <sb8915@att.com>2017-11-03 18:36:06 -0400
committerShailendra Borale <sb8915@att.com>2017-11-04 12:54:02 -0400
commit8110f18571f6792ddd9ab21a63d0b13089f55f76 (patch)
tree48c1979bd322706ab4ca8503c9daf091d960fbb3 /bpmn/MSOInfrastructureBPMN/src/test/java/org
parentbf5586a18a786767bc84f512bf6e4cafe9ed3ee8 (diff)
Added sleep before GET call
Added 30 second sleep to take care of AAI replication issue Changed calls to toJsonString to toJsonStringNoRootName. toJsonString adds additional braces causing parsing error Added code to skip wait in case of unit testing. added debug prints to test cases Change-Id: I25461da8051f96ea2c8f6c5fde386a0ba0b66e43 IssueId: SO-303 Signed-off-by: Shailendra Borale <sb8915@att.com>
Diffstat (limited to 'bpmn/MSOInfrastructureBPMN/src/test/java/org')
-rw-r--r--bpmn/MSOInfrastructureBPMN/src/test/java/org/openecomp/mso/bpmn/vcpe/CreateVcpeResCustServiceTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/bpmn/MSOInfrastructureBPMN/src/test/java/org/openecomp/mso/bpmn/vcpe/CreateVcpeResCustServiceTest.java b/bpmn/MSOInfrastructureBPMN/src/test/java/org/openecomp/mso/bpmn/vcpe/CreateVcpeResCustServiceTest.java
index 8f94187f48..38461de5a0 100644
--- a/bpmn/MSOInfrastructureBPMN/src/test/java/org/openecomp/mso/bpmn/vcpe/CreateVcpeResCustServiceTest.java
+++ b/bpmn/MSOInfrastructureBPMN/src/test/java/org/openecomp/mso/bpmn/vcpe/CreateVcpeResCustServiceTest.java
@@ -84,6 +84,7 @@ public class CreateVcpeResCustServiceTest extends AbstractTestBase {
public void testCreateVcpeResCustService_Success() throws Exception {
+ System.out.println("starting: testCreateVcpeResCustService_Success\n");
MockGetServiceResourcesCatalogData("uuid-miu-svc-011-abcdef", "2", "VCPE/CreateVcpeResCustService/getCatalogServiceResourcesData.json");
MockGetServiceResourcesCatalogData("uuid-miu-svc-011-abcdef", "VCPE/CreateVcpeResCustService/getCatalogServiceResourcesData.json");
MockGetCustomer(CUST, "VCPE/CreateVcpeResCustService/getCustomer.xml");
@@ -159,6 +160,7 @@ public class CreateVcpeResCustServiceTest extends AbstractTestBase {
public void testCreateVcpeResCustService_NoParts() throws Exception {
+ System.out.println("starting: testCreateVcpeResCustService_NoParts\n" );
MockGetServiceResourcesCatalogData("uuid-miu-svc-011-abcdef", "2", "VCPE/CreateVcpeResCustService/getCatalogServiceResourcesNoData.json");
MockGetServiceResourcesCatalogData("uuid-miu-svc-011-abcdef", "VCPE/CreateVcpeResCustService/getCatalogServiceResourcesNoData.json");
MockGetCustomer(CUST, "VCPE/CreateVcpeResCustService/getCustomer.xml");
@@ -226,6 +228,7 @@ public class CreateVcpeResCustServiceTest extends AbstractTestBase {
public void testCreateVcpeResCustService_Fault_NoRollback() throws Exception {
+ System.out.println("starting: testCreateVcpeResCustService_Fault_NoRollback\n");
MockGetServiceResourcesCatalogData("uuid-miu-svc-011-abcdef", "2", "VCPE/CreateVcpeResCustService/getCatalogServiceResourcesData.json");
MockGetServiceResourcesCatalogData("uuid-miu-svc-011-abcdef", "VCPE/CreateVcpeResCustService/getCatalogServiceResourcesData.json");
MockGetCustomer(CUST, "VCPE/CreateVcpeResCustService/getCustomer.xml");
@@ -296,6 +299,7 @@ public class CreateVcpeResCustServiceTest extends AbstractTestBase {
public void testCreateVcpeResCustService_Fault_Rollback() throws Exception {
+ System.out.println("starting: testCreateVcpeResCustService_Fault_Rollback\n");
MockGetServiceResourcesCatalogData("uuid-miu-svc-011-abcdef", "2", "VCPE/CreateVcpeResCustService/getCatalogServiceResourcesData.json");
MockGetServiceResourcesCatalogData("uuid-miu-svc-011-abcdef", "VCPE/CreateVcpeResCustService/getCatalogServiceResourcesData.json");
MockGetCustomer(CUST, "VCPE/CreateVcpeResCustService/getCustomer.xml");