-
-
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
Listeners are not called - Only called if forkCount=0 #2909
Comments
Check the code how the listeners are read and cached - there might be some thread-local stuff going on. |
It worked in previous versions of Serenity. Which part of the code should I check? |
I've also tried with the SampleStepListener, not working |
You'll need to look in the code to see how those clases are being loaded. I don't have the code in front of me but just search for usages of the interface. |
Hi, @wakaleo. I think we've found a solution. If we add useModulePath false to failsafe plugin it works.
|
If I execute mvn verify of my project (based on last release and pom.xml of Cucumber Starter), none of my custom listeners are called.
But if I execute:
mvn verify -DforkCount=0 then my custom listeners are called.
The text was updated successfully, but these errors were encountered: