From: Jimmy Forsyth Date: Wed, 7 Aug 2019 15:47:02 +0000 (-0400) Subject: Attempt to fix the test failures on centos X-Git-Tag: 1.5.3~2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=7c29f5d7fc0d79eb3b263c2f737e0b5e70d3dd97;p=aai%2Faai-common.git Attempt to fix the test failures on centos Issue-ID: AAI-2574 Signed-off-by: Jimmy Forsyth Change-Id: I51f0bc9a23e5ea1f3946ba5cf97d9cd532318558 --- 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);