Open manolo opened 5 years ago
After moving to JUnit5 it is possible to define @ResourceLock
per type or method, more details: https://junit.org/junit5/docs/snapshot/user-guide/#writing-tests-parallel-execution-synchronization.
It should solve the issue.
Defining thread count is also possible using JUnit5 parallel properties - junit.jupiter.execution.parallel.config.fixed.parallelism = 2
@manolo - if it's ok for you please close the ticket.
Testbench does not consider the standard way of annotation with
@NoThreadSafe
a class so as only a test is run at once. It neither supports threadCount parameters defined in the failsafe plugin specification. The only way is to define acom.vaadin.testbench.Parameters.testsInParallel
property globally