Open gieghia opened 6 years ago
By default, Gauge runs multiple JVMs for parallel execution. For example:
mvn gauge:execute -DspecsDir=specs -DinParallel=true -Dnodes=3
The above command will spawn 3 JVMs for parallel execution.
thank you. inParalle mode my test is failed.
may be my test case not thread-safe?
The parallel execution will use multiple JVM processes and not threads. You can't share state between multiple JVM processes running different specifications and that might be the reason for the failure.
parallel execute running in the same jvm. in my case not work correctlly.
i know maven support create mutiple jvm for test.
forkCount reuseForks: https://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html
Do you have any plans to support create multiple jvm for test?