summaryrefslogtreecommitdiffstats
path: root/aai-core
diff options
context:
space:
mode:
authorVenkata Harish Kajur <vk250x@att.com>2019-08-12 13:21:46 +0000
committerGerrit Code Review <gerrit@onap.org>2019-08-12 13:21:46 +0000
commit16b14383f2970ea0647f22d0d1a8febf5db718b8 (patch)
treecbaa4ec34a6445afac6b881b8ea400b65027f09d /aai-core
parent06bc46f35a07d4b2e2578f5c22f67ca0b090c59e (diff)
parent9f9252de0a702ade8b80383a03a2c6cbd9c37bbc (diff)
Merge "Attempt to fix the test failures on centos"
Diffstat (limited to 'aai-core')
-rw-r--r--aai-core/src/test/java/org/onap/aai/AAISetup.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/aai-core/src/test/java/org/onap/aai/AAISetup.java b/aai-core/src/test/java/org/onap/aai/AAISetup.java
index ade20f4a..4bc30b8c 100644
--- a/aai-core/src/test/java/org/onap/aai/AAISetup.java
+++ b/aai-core/src/test/java/org/onap/aai/AAISetup.java
@@ -22,7 +22,7 @@ package org.onap.aai;
import java.util.Map;
-import org.junit.BeforeClass;
+import org.junit.Before;
import org.junit.ClassRule;
import org.junit.Rule;
import org.onap.aai.config.ConfigConfiguration;
@@ -88,8 +88,8 @@ public abstract class AAISetup {
protected static final String SERVICE_NAME = "JUNIT";
- @BeforeClass
- public static void setupBundleconfig() throws Exception {
+ @Before
+ public void setupBundleconfig() throws Exception {
System.setProperty("AJSC_HOME", ".");
System.setProperty("BUNDLECONFIG_DIR", "src/test/resources/bundleconfig-local");
System.setProperty("aai.service.name", SERVICE_NAME);