How to resource lock concurrent parametrized tests? #4367
Unanswered
PranavMahesh1
asked this question in
Q&A
Replies: 2 comments 3 replies
-
We're currently discussing this in #4346. Feel free to chime in there! In your specific case, you could achieve what you need by annotating both |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks, that looks like it does the trick for me. One last question, there wouldn't be a way to make |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a class:
This will execute the parametrized tests in parallel. However, I don't want this class to run at the same time as ExampleTest2 (similar class), so I add a
@ResourceLock("test")
to both classes. As soon as I add the annotation to one of these classes and run the test class individually, the parametrized tests stop running in parallel. How can I execute the parameters in parallel but stop these two classes from executing at the same time?Beta Was this translation helpful? Give feedback.
All reactions