From 1ca76be544c5c05de4a3bef27fc2f8278873cbe9 Mon Sep 17 00:00:00 2001 From: lprimak Date: Wed, 27 Nov 2024 17:44:51 -0700 Subject: [PATCH] locking flaky failing Guice test --- .../java/org/apache/shiro/guice/web/ShiroWebModuleTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/support/guice/src/test/java/org/apache/shiro/guice/web/ShiroWebModuleTest.java b/support/guice/src/test/java/org/apache/shiro/guice/web/ShiroWebModuleTest.java index 1c0416896d..8472cf4f69 100644 --- a/support/guice/src/test/java/org/apache/shiro/guice/web/ShiroWebModuleTest.java +++ b/support/guice/src/test/java/org/apache/shiro/guice/web/ShiroWebModuleTest.java @@ -47,6 +47,7 @@ import org.junit.jupiter.api.Assumptions; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.parallel.Isolated import javax.inject.Named; import javax.servlet.Filter; @@ -76,6 +77,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; +@Isolated("System property usage") public class ShiroWebModuleTest {