You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to be able to get the following interleaving, but only for these two classes. I'd like all other classes to be able to execute concurrently with each other.
I tried annotating the classes with @ResourceLock and @Isolated, but those seem to propagate to each individual test method and causes the tests within each classes to serialize with respect to each other.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When running with these settings:
Is there a way to selectively isolate classes from each other while running all the tests in one class concurrently?
That is, given the following two test classes and methods:
I'd like to be able to get the following interleaving, but only for these two classes. I'd like all other classes to be able to execute concurrently with each other.
I tried annotating the classes with
@ResourceLock
and@Isolated
, but those seem to propagate to each individual test method and causes the tests within each classes to serialize with respect to each other.Beta Was this translation helpful? Give feedback.
All reactions