[NotInParallel] behaviour
#3925
Unanswered
filipbroniek
asked this question in
Q&A
Replies: 0 comments
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 some tests on database that need's to be performed individually. but I want to run other tests (that are unrelated to DB) in parallel to them.
Actual behavior:
Expected behaviour:
I expected to
OtherTestto run concurrently to tests inDATABASE_GROUPgroup. But actual behavior is thatDATABASE_GROUPwaits forOtherTestto finish before it starts.The only workaround I found is to decorate every non db test with
[NotInParallel("some unique value")]in order to run it concurrently. But It's a boilerplate code that I need to add for each non db test.Is it expected behavior? If yes, is there any other workaround for this?
Beta Was this translation helpful? Give feedback.
All reactions