Revert ignoring tests in common 64/124364/1
authorRam Krishna Verma <ram_krishna.verma@bell.ca>
Mon, 20 Sep 2021 14:30:43 +0000 (10:30 -0400)
committerRam Krishna Verma <ram_krishna.verma@bell.ca>
Mon, 20 Sep 2021 14:30:51 +0000 (10:30 -0400)
Reverting the ignoring of tests in common
as the staging jobs have been marked to skip tests.

Issue-ID: POLICY-3587
Change-Id: Idcb9f432d1f563ba5e072c0c7511de7b650163fa
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
utils-test/src/test/java/org/onap/policy/common/utils/security/SelfSignedKeyStoreTest.java

index b80dc2d..62565bd 100644 (file)
@@ -29,7 +29,6 @@ import java.io.IOException;
 import java.util.concurrent.TimeUnit;
 import org.junit.Before;
 import org.junit.BeforeClass;
-import org.junit.Ignore;
 import org.junit.Test;
 
 public class SelfSignedKeyStoreTest {
@@ -56,7 +55,6 @@ public class SelfSignedKeyStoreTest {
         delete(defaultKeystore);
     }
 
-    @Ignore
     @Test
     public void testSelfSignedKeyStore() throws Exception {
         SelfSignedKeyStore ks = new SelfSignedKeyStore();
@@ -65,7 +63,6 @@ public class SelfSignedKeyStoreTest {
         assertThat(defaultKeystore).exists();
     }
 
-    @Ignore
     @Test
     public void testSelfSignedKeyStoreString() throws IOException, InterruptedException {
         String relName = "target/my-keystore";
@@ -83,7 +80,6 @@ public class SelfSignedKeyStoreTest {
     /**
      * Tests the constructor, when the keystore already exists.
      */
-    @Ignore
     @Test
     public void testSelfSignedKeyStoreStringExists() throws Exception {
         new SelfSignedKeyStore();
@@ -124,14 +120,12 @@ public class SelfSignedKeyStoreTest {
     /**
      * Tests the constructor, when keytool fails.
      */
-    @Ignore
     @Test
     public void testSelfSignedKeyStoreStringKeytoolFailure() throws Exception {
         assertThatThrownBy(() -> new SelfSignedKeyStore("target/unknown/path/to/keystore"))
                         .isInstanceOf(IOException.class).hasMessageContaining("keytool exited with");
     }
 
-    @Ignore
     @Test
     public void testGetKeystoreName() throws Exception {
         String relpath = SelfSignedKeyStore.RELATIVE_PATH;