diff --git a/whois-api/src/test/java/net/ripe/db/whois/api/log/JettyRequestLogTestIntegration.java b/whois-api/src/test/java/net/ripe/db/whois/api/log/JettyRequestLogTestIntegration.java index a615f67802..53b1f24f65 100644 --- a/whois-api/src/test/java/net/ripe/db/whois/api/log/JettyRequestLogTestIntegration.java +++ b/whois-api/src/test/java/net/ripe/db/whois/api/log/JettyRequestLogTestIntegration.java @@ -9,12 +9,14 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; +import org.springframework.test.annotation.DirtiesContext; import static org.hamcrest.CoreMatchers.not; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.containsString; @Tag("IntegrationTest") +@DirtiesContext(classMode = DirtiesContext.ClassMode.AFTER_EACH_TEST_METHOD) public class JettyRequestLogTestIntegration extends AbstractIntegrationTest { private static final RpslObject OWNER_MNT = RpslObject.parse("" +