-
Notifications
You must be signed in to change notification settings - Fork 468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with Spock Parallel execution after upgrade to Selenium 4 #1822
Comments
Does that mean, before the upgrade it used to work as expected? If so, please also specify the previous version which did what you expect. |
What you configure to |
Hello @kriegaex Yes it used to work as expected with Selenium 3. |
Hey @kriegaex , do we have any update on the problem statement |
Did you try the work-around I suggested? If it works, it is that underlying problem in JUnit platform that should be fixed there I also linked to. |
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:
Below is our SpockConfig.groovy file:
runner {
}
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
dependencies-report.txt
Additional context
No response
The text was updated successfully, but these errors were encountered: