-
Hi,
I've noticed that even with a fixed parallelism, all the test classes are created and their Is this the intended behavior of Spock? My classes' Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 19 replies
-
I cannot reproduce what you describe, can you knit an MCVE? |
Beta Was this translation helpful? Give feedback.
Another idea how to maybe approach your original problem.
Indeed build such a resource pool.
Have a
Semaphore
withparallelism
amount of permits.acquire
it before you create the driver,release
it after you closed the driver.This way max 5 drivers are used as the others are waiting for the semaphore to have a permit available.
This might be the best solution in your case.