-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
thread leak in cucumber.runtime.Timeout class #639
Comments
Ouch! Interested in sending a PR with a fix? |
Yep, will send it today |
Great thread! |
@when(value = "do nothing", timeout = 60000)
When do nothing
Result: Use any java profing and see that the number of live threads are growing |
It's possible to count the number of threads with |
Thanks for the clarification. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi,
If you set timeout for all your steps, and have a lot of scenarios. Cucucmber-jvm falls that it reaches the limit of running threads (the number is depend on OS).
The bug is in cucumber.runtime.Timeout class.
It creates every time new executor service, but never stop it.
As the result, the number of running threads is growing.
The text was updated successfully, but these errors were encountered: