-
-
Notifications
You must be signed in to change notification settings - Fork 513
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
Serenity 3.6.0, the API call informations aren't displayed in Serenity HTML report after running Cucumber scenarios with Serenity in parallel #3030
Comments
Fixed in 3.6.7 |
@cliviu Question since I was trying out the junit5 cucumber parallel execution. cucumber.execution.parallel.config.fixed.parallelism=10 is not taking into account because of this all scenario's are started in parallel. Even when I set the parallelism to 1 I see that for each scenario a worker thread is started simultaneously. Could you confirm if you have the same issue? |
1 similar comment
@cliviu Question since I was trying out the junit5 cucumber parallel execution. cucumber.execution.parallel.config.fixed.parallelism=10 is not taking into account because of this all scenario's are started in parallel. Even when I set the parallelism to 1 I see that for each scenario a worker thread is started simultaneously. Could you confirm if you have the same issue? |
hey @GianniGiglio , here are the docs . As long as |
Thanks I know but image you have 20 scenario's and you've set cucumber.execution.parallel.config.fixed.parallelism=5 I see that all 20 scenario's are executed at the same time in parallel instead of just 5 |
This may be a good question for the Cucumber team I guess. We are just dealing with whatever threads are coming :-). |
Thanks i'll open a ticket for the cucumber team. I as just trying to confirm if you experienced the same issue. you can easlily see this when you use the timeline plugin cucumber.plugin=io.cucumber.core.plugin.SerenityReporterParallel, pretty, json:target/cucumber.json, timeline:build/timeline/ The report clearly shows that all scenario's are executed at the same time instead of the number you configure. |
As @cliviu said, this is more a question for the Cucumber folk (Serenity doesn't have any control over how you configure the JUnit 5/Cucumber parallel options), but is it a fixed number of threads in total, or a fixed number of threads per core? |
@wakaleo fixed number of threads based om my junit 5 experiance and parallelization. Agreed that this is a cucumber-jvm question or even something to ask the Junit team. |
@wakaleo FYI this is a know bug you need to set the .max-pool-size property. If not, you run into a JUnit bug where more threads will start when your test waits for Web Driver to start. |
@GianniGiglio Cool, thanks for the update |
I'm following the https://serenity-bdd.github.io/docs/guide/cucumber document to set up the cucumber test run in parallel. After the test run
The text was updated successfully, but these errors were encountered: