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
cypress.run() does not release activeHandles since 3.5.0, wrapping script doesn't exit. #7454
Comments
Can you explain a bit more about the exact behavior you are seeing that is different between version? When I run the provided code, the process does exit for me. I'm using macOS. Both the 3.4.1 and the 4.6.0 versions exit and also print activeHandlers and activeRequests in the process log after the run has finished. May be isolated to Windows if you're seeing something different here.
|
I think this is isolated to Windows because this is not the behavior I see. The process exits properly on MacOS on all of these versions. |
Since this issue hasn't had activity in a while, we'll close the issue until we can confirm this is still happening. Please comment if there is new information to provide concerning the original issue and we'd be happy to reopen. |
Current behavior:
cypress.run()
does not release some activeHandles since 3.5.0. Wrapping script doesn't exit without an explicitprocess.exit()
.Same situation in 4.5.0, and probably all the versions starting 3.5.0. Worked seamlessly in 3.4.1.
Desired behavior:
No activeHandles/activeRequests should stuck, the wrapping script should exit cleanly, without an explicit forceful
process.exit()
call.Test code to reproduce
activeHandles@3.4.1 [OK, last good version]
activeHandles@3.5.0 [NOK, first problematic version]
activeHandles@4.5.0 [NOK, still bad in 4.5.0]
The wrapping script:
Versions
Windows 10
Cypress 3.5.0+ (e.g. 4.5.0)
The text was updated successfully, but these errors were encountered: