Skip to content
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

Fix Scope usage in ServerSentEventEndpointSpec #3182

Merged
merged 2 commits into from
Sep 29, 2024

Conversation

kyri-petrou
Copy link
Collaborator

This test is not corret, as it's providing the Client.default to an effect that has the request Scope as a requirement. This works with ZIO versions up to 2.1.8 since the ZPool implementation leaks its resources (connections) so the ZPool finalizers are not waiting for the connections to close. When updating ZIO to the latest snapshot this test caused issues (note there might be some underlying bug in ZIO as well, I'll check) but since the test is also badly written I think it's good to fix it here as well

@987Nabil 987Nabil merged commit f29c699 into zio:main Sep 29, 2024
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants