Replies: 1 comment 1 reply
-
Looking at the code, it's currently not possible to replace it. If you need complex locking, I suggest that you write your own distributed lock manager (DLM) and use it in your tests either directly (programmatically) or via a custom extension. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm interested in the possibility of extending JUnit's
ResourceLock
mechanism not only for locking inside a single JVM process but for inter-process locking (we might have multiple JVM processes running JUnit tests on the same system with shared resources).Is it currently possible to replace JUnit's
LockManager
implementation?And even if it is possible, is this a good idea?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions