aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarish Venkata Kajur <vk250x@att.com>2020-08-11 12:43:33 -0400
committerHarish Venkata Kajur <vk250x@att.com>2020-08-11 12:43:35 -0400
commitc3a662bb9f7b4776fa25381d53a102533d287478 (patch)
treeebe8a014fca81d3da89f78527ba6897a1f18efd8
parent464ae61b657277de7bb1ec7edbfc1247b220740f (diff)
Add dirty context to junit to fix spring failure
Issue-ID: AAI-3105 Change-Id: I7b387c76009dba950aea0debf382f316c558d6ad Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
-rw-r--r--aai-core/src/test/java/org/onap/aai/parsers/uri/URIToExtensionInformationTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/aai-core/src/test/java/org/onap/aai/parsers/uri/URIToExtensionInformationTest.java b/aai-core/src/test/java/org/onap/aai/parsers/uri/URIToExtensionInformationTest.java
index 7d7d284d..3bd44df9 100644
--- a/aai-core/src/test/java/org/onap/aai/parsers/uri/URIToExtensionInformationTest.java
+++ b/aai-core/src/test/java/org/onap/aai/parsers/uri/URIToExtensionInformationTest.java
@@ -36,7 +36,9 @@ import org.onap.aai.introspection.Loader;
import org.onap.aai.introspection.ModelType;
import org.onap.aai.restcore.HttpMethod;
import org.onap.aai.setup.SchemaVersion;
+import org.springframework.test.annotation.DirtiesContext;
+@DirtiesContext(classMode = DirtiesContext.ClassMode.BEFORE_CLASS)
public class URIToExtensionInformationTest extends AAISetup {
private Loader specificLoader;