diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a6715b179f..8082cba26d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -146,7 +146,7 @@ repos: description: Trims trailing whitespace args: [--markdown-linebreak-ext=md] - repo: https://github.com/igorshubovych/markdownlint-cli - rev: 5b5dddc4fb0f83c3ea1fc5616fa63e115dce83e0 # frozen: v0.49.1 + rev: cbcdc463be5464e25e3e955a511599a67b9b987f # frozen: v0.50.0 hooks: - id: markdownlint priority: 100 @@ -174,7 +174,7 @@ repos: name: run gitleaks description: check for secrets with gitleaks - repo: https://github.com/zizmorcore/zizmor-pre-commit - rev: c92afdf2c6ca336aaa8f39e2bd8d48f62dbd8e1f # frozen: v1.31.1 + rev: 06a39750ec31860bb44f2acf67182c40016cd1e7 # frozen: v1.32.0 hooks: - id: zizmor priority: 100 @@ -209,7 +209,7 @@ repos: description: check PNG files with oxipng args: ['--fix', '-o', '4', '--strip', 'safe', '--alpha'] - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0494aa7fa1314e98913a41227d8f0a515b2c1049 # frozen: 0.38.2 + rev: a76b92851fc9eede9f9bc4073eb55202f34eb0df # frozen: 0.39.0 hooks: - id: check-citation-file-format priority: 100 diff --git a/core/src/test/java/org/apache/shiro/realm/AuthorizingRealmTest.java b/core/src/test/java/org/apache/shiro/realm/AuthorizingRealmTest.java index 017cfc016d..dd62ee7e30 100644 --- a/core/src/test/java/org/apache/shiro/realm/AuthorizingRealmTest.java +++ b/core/src/test/java/org/apache/shiro/realm/AuthorizingRealmTest.java @@ -48,6 +48,8 @@ import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.parallel.ResourceAccessMode; +import org.junit.jupiter.api.parallel.ResourceLock; @@ -56,6 +58,7 @@ *
* TODO - this could/should be expanded to be more robust end to end test for the AuthorizingRealm */ +@ResourceLock(value = "AuthorizationConfigPolicy.strictParsing", mode = ResourceAccessMode.READ) public class AuthorizingRealmTest { private static final String USERNAME = "testuser";