diff options
author | Patrick Brady <pb071s@att.com> | 2017-11-30 14:25:00 -0800 |
---|---|---|
committer | Skip Wonnell <skip@att.com> | 2017-12-04 15:10:07 +0000 |
commit | e7db07433274257a7b792d1b3cf0da0026fd1d6e (patch) | |
tree | 18e0151f73d6ff9e1ed505a50a3432bb3dcd24fe /appc-config/appc-data-services/provider/src | |
parent | d9667ceb3b0c424256ec71ccf50a457eb4395a29 (diff) |
Correcting or skipping tests
These tests seem to be designed to timeout and fail. The
resulting exception is either caught or put as an expectation of
the test. The tests do not actually test anything and are causing
30 minutes of build delay.
Change-Id: I177839c0f08f2c4bd8895e0626f49476b4ed7e85
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-276
Diffstat (limited to 'appc-config/appc-data-services/provider/src')
-rw-r--r-- | appc-config/appc-data-services/provider/src/test/java/org/openecomp/appc/data/services/db/TestConfigResourceNode.java | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/appc-config/appc-data-services/provider/src/test/java/org/openecomp/appc/data/services/db/TestConfigResourceNode.java b/appc-config/appc-data-services/provider/src/test/java/org/openecomp/appc/data/services/db/TestConfigResourceNode.java index ee4db30b8..4fe01b3ae 100644 --- a/appc-config/appc-data-services/provider/src/test/java/org/openecomp/appc/data/services/db/TestConfigResourceNode.java +++ b/appc-config/appc-data-services/provider/src/test/java/org/openecomp/appc/data/services/db/TestConfigResourceNode.java @@ -27,6 +27,7 @@ package org.openecomp.appc.data.services.db; import java.util.HashMap; import java.util.Map; import static org.junit.Assert.assertFalse; +import org.junit.Ignore; import org.junit.Test; import org.openecomp.appc.data.services.AppcDataServiceConstant; import org.openecomp.appc.data.services.node.ConfigResourceNode; @@ -35,6 +36,7 @@ import org.onap.ccsdk.sli.core.sli.SvcLogicException; public class TestConfigResourceNode { + @Ignore("Test is taking 60 seconds") @Test(expected = Exception.class) public void testgetConfigFileReferenc() throws SvcLogicException { SvcLogicContext ctx = new SvcLogicContext(); @@ -44,8 +46,8 @@ public class TestConfigResourceNode { dbService.getConfigFileReference(map, ctx); } + @Ignore("Test is taking 60 seconds") @Test(expected = Exception.class) - public void testgetTemplate() throws SvcLogicException { SvcLogicContext ctx = new SvcLogicContext(); ctx.setAttribute("test", "test"); @@ -59,6 +61,7 @@ public class TestConfigResourceNode { } + @Ignore("Test is taking 60 seconds") @Test(expected = Exception.class) public void testgetVnfcReference() throws SvcLogicException { SvcLogicContext ctx = new SvcLogicContext(); @@ -69,6 +72,7 @@ public class TestConfigResourceNode { dbService.getVnfcReference(map, ctx); } + @Ignore("Test is taking 60 seconds") @Test(expected = Exception.class) public void testgetSmmChainKeyFiles() throws SvcLogicException { SvcLogicContext ctx = new SvcLogicContext(); @@ -80,8 +84,8 @@ public class TestConfigResourceNode { dbService.getSmmChainKeyFiles(map, ctx); } + @Ignore("Test is taking 60 seconds") @Test(expected = Exception.class) - public void testgetDownloadConfigTemplateByVnf() throws SvcLogicException { SvcLogicContext ctx = new SvcLogicContext(); ctx.setAttribute("test", "test"); @@ -92,6 +96,7 @@ public class TestConfigResourceNode { } + @Ignore("Test is taking 60 seconds") @Test(expected = Exception.class) public void testgetCommonConfigInfo() throws SvcLogicException { SvcLogicContext ctx = new SvcLogicContext(); @@ -102,6 +107,7 @@ public class TestConfigResourceNode { } + @Ignore("Test is taking 60 seconds") @Test(expected = Exception.class) public void testupdateUploadConfigss() throws SvcLogicException { SvcLogicContext ctx = new SvcLogicContext(); @@ -112,6 +118,7 @@ public class TestConfigResourceNode { } + @Ignore("Test is taking 60 seconds") @Test(expected = Exception.class) public void testgetConfigFilesByVnfVmNCategory() throws SvcLogicException { SvcLogicContext ctx = new SvcLogicContext(); @@ -124,6 +131,7 @@ public class TestConfigResourceNode { node.getConfigFilesByVnfVmNCategory(inParams, ctx); } + @Ignore("Test is taking 60 seconds") @Test(expected = Exception.class) public void testsaveConfigTransactionLog() throws SvcLogicException { SvcLogicContext ctx = new SvcLogicContext(); @@ -137,6 +145,7 @@ public class TestConfigResourceNode { } + @Ignore("Test is taking 60 seconds") @Test(expected = Exception.class) public void testsaveConfigBlock() throws SvcLogicException { SvcLogicContext ctx = new SvcLogicContext(); |