summaryrefslogtreecommitdiffstats
path: root/aai-core/src/test
diff options
context:
space:
mode:
authorJimmy Forsyth <jf2512@att.com>2019-08-07 11:47:02 -0400
committerJimmy Forsyth <jf2512@att.com>2019-08-07 15:38:15 -0400
commit9f9252de0a702ade8b80383a03a2c6cbd9c37bbc (patch)
tree81960356c7a6b0609d87035894dc22431ef00f33 /aai-core/src/test
parent7bb7fcbe8558e34c6d60eccfde3248c7955be88d (diff)
Attempt to fix the test failures on centos
Issue-ID: AAI-2574 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: I51f0bc9a23e5ea1f3946ba5cf97d9cd532318558
Diffstat (limited to 'aai-core/src/test')
-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);