You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The @before hook is only executing once per feature file not per scenario when running scenarios in parallel, When I have the cucumber.execution.parallel.config.fixed.parallelism and cucumber.execution.parallel.config.fixed.max-pool-size set to less than the scenarios in a feature file.
Have a threadlocal<Collection> with lazy loading and a static getter with the values set in the before hook method to grab sourcetagnames or have a stringbuffer that is getting the sourcetagnames. print values out before exiting method.
Set the cucumber.execution.parallel.config.fixed.parallelism and cucumber.execution.parallel.config.fixed.max-pool-size to less than the scenarios in feature file while making sure all scenarios run (common tag at top of feature file, separate tags on scenarios)
Run it via maven
📚 Any additional context?
I have tried to use a stringbuffer and get the tags in the case my thread syncing method was the issue, same thing happens.
The text was updated successfully, but these errors were encountered:
Your reproducer sounds quite complicated. And that makes it likely that the problem sits in the code you have written. Additionally you're using Serenity which is a different project.
👓 What did you see?
The @before hook is only executing once per feature file not per scenario when running scenarios in parallel, When I have the cucumber.execution.parallel.config.fixed.parallelism and cucumber.execution.parallel.config.fixed.max-pool-size set to less than the scenarios in a feature file.
✅ What did you expect to see?
Before hook executing before every scenario
📦 Which tool/library version are you using?
Junit BOM 5.11.3
Serenity Core 4.2.14
Cucumber-junit-platform-engine 7.20.1
🔬 How could we reproduce it?
📚 Any additional context?
I have tried to use a stringbuffer and get the tags in the case my thread syncing method was the issue, same thing happens.
The text was updated successfully, but these errors were encountered: