-
Notifications
You must be signed in to change notification settings - Fork 475
Description
Describe the bug
After upgrade to Selenium 4.13.0 we are facing issue with Geb + spock parallel execution.
We are using Selenium grid deployed through docker for parallel execution.
Geb and Spock Dependencies used:
spock-junit4 = 2.3-groovy-3.0
spock-core = 2.3-groovy-3.0
geb-spock = 6.0
Below is our SpockConfig.groovy file:
runner {
parallel {
enabled true
defaultSpecificationExecutionMode ExecutionMode.CONCURRENT
defaultExecutionMode ExecutionMode.SAME_THREAD
fixed(5)
}
}
Here if we keep thread count as 5 , ideally spock should send only 5 spec at a time for execution as the defaultSpecificationExecutionMode is concurrent and defaultExecutionMode is SAME_THREAD.But it sends all the spec present in the module and keeps on increasing the Selenium Grid Queue size.
To Reproduce
Start Selenium Distributed grid 4.13.0 through docker compose with 5 chrome nodes.
Execute Geb test cases with Thread count as 2
Expected behavior
It should run 2 spec at a time as the thread count is fixed as 2.
Actual behavior
Its running all the specs at once and increasing the Selenium grid queue size
Java version
1.8.0_241
Buildtool version
Gradle 5.6
What operating system are you using
Windows
Dependencies
Additional context
No response
