From e7db07433274257a7b792d1b3cf0da0026fd1d6e Mon Sep 17 00:00:00 2001 From: Patrick Brady Date: Thu, 30 Nov 2017 14:25:00 -0800 Subject: 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 Issue-ID: APPC-276 --- .../org/openecomp/appc/design/validator/TestDBService.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'appc-inbound/appc-design-services/provider') diff --git a/appc-inbound/appc-design-services/provider/src/test/java/org/openecomp/appc/design/validator/TestDBService.java b/appc-inbound/appc-design-services/provider/src/test/java/org/openecomp/appc/design/validator/TestDBService.java index d1a899d14..13cc93f61 100644 --- a/appc-inbound/appc-design-services/provider/src/test/java/org/openecomp/appc/design/validator/TestDBService.java +++ b/appc-inbound/appc-design-services/provider/src/test/java/org/openecomp/appc/design/validator/TestDBService.java @@ -31,6 +31,7 @@ import java.util.Enumeration; import java.util.Properties; import org.apache.commons.io.FileUtils; import org.junit.Before; +import org.junit.Ignore; import org.junit.Test; import org.openecomp.appc.design.dbervices.DbService; import org.openecomp.appc.design.dbervices.DesignDBService; @@ -44,6 +45,7 @@ public class TestDBService { private final org.slf4j.Logger logger = LoggerFactory.getLogger(TestDBService.class); + @Ignore("Test is taking 60 seconds") @Test public void testGetDesigns() { try { @@ -54,6 +56,7 @@ public class TestDBService { } } + @Ignore("Test is taking 120 seconds") @Test public void testGetStatus() { try { @@ -67,6 +70,7 @@ public class TestDBService { } } + @Ignore("Test is taking 120 seconds") @Test public void testUploadArtifact() { try { @@ -80,6 +84,7 @@ public class TestDBService { } } + @Ignore("Test is taking 120 seconds") @Test public void testGetArtifact() { try { @@ -93,6 +98,7 @@ public class TestDBService { } } + @Ignore("Test is taking 120 seconds") @Test public void testSetIncart() { try { @@ -106,6 +112,7 @@ public class TestDBService { } } + @Ignore("Test is taking 120 seconds") @Test public void testSetProtocolReference() { try { @@ -119,6 +126,7 @@ public class TestDBService { } } + @Ignore("Test is taking 120 seconds") @Test public void testSetStatus() { try { @@ -132,6 +140,7 @@ public class TestDBService { } } + @Ignore("Test is taking 120 seconds") @Test public void testGetArtifactReference() { try { @@ -145,6 +154,7 @@ public class TestDBService { } } + @Ignore("Test is taking 120 seconds") @Test public void testGetGuiReference() { try { -- cgit 1.2.3-korg