Issue-ID: AAI-3100
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: Icb50543e29c31ade5a367213b40b7a74f3c91661
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
+import org.springframework.test.annotation.DirtiesContext;
import org.junit.rules.ExpectedException;
import org.onap.aai.AAISetup;
import org.onap.aai.concurrent.AaiCallable;
import org.junit.rules.ExpectedException;
import org.onap.aai.AAISetup;
import org.onap.aai.concurrent.AaiCallable;
import java.util.Properties;
import static org.junit.Assert.assertTrue;
import java.util.Properties;
import static org.junit.Assert.assertTrue;
+@DirtiesContext(classMode = DirtiesContext.ClassMode.BEFORE_CLASS)
public class ListEndpointsTest extends AAISetup {
private Properties properties;
public class ListEndpointsTest extends AAISetup {
private Properties properties;
import org.junit.runners.Parameterized;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import org.junit.runners.Parameterized;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
+import org.springframework.test.annotation.DirtiesContext;
+
import org.onap.aai.AAISetup;
import org.onap.aai.db.props.AAIProperties;
import org.onap.aai.edges.enums.EdgeProperty;
import org.onap.aai.AAISetup;
import org.onap.aai.db.props.AAIProperties;
import org.onap.aai.edges.enums.EdgeProperty;
import static org.mockito.Mockito.when;
@RunWith(value = Parameterized.class)
import static org.mockito.Mockito.when;
@RunWith(value = Parameterized.class)
+@DirtiesContext(classMode = DirtiesContext.ClassMode.BEFORE_CLASS)
public class DataCopyTest extends AAISetup {
private static JanusGraph graph;
public class DataCopyTest extends AAISetup {
private static JanusGraph graph;