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

Cloudflare adapter hangs process using Vitest #444

Open
1 task done
skf-funzt opened this issue Nov 15, 2024 · 0 comments
Open
1 task done

Cloudflare adapter hangs process using Vitest #444

skf-funzt opened this issue Nov 15, 2024 · 0 comments

Comments

@skf-funzt
Copy link

Astro Info

Astro                    v4.16.12
Node                     v21.4.0
System                   Linux (x64)
Package Manager          pnpm
Output                   static
Adapter                  none
Integrations             none

> Note: This does not reflect the environment, as the Cloudflare adapter is in use and the test runs against several Node versions.

Describe the Bug

When testing Astro using Vitest, the test run hangs and timeouts on close, if the Cloudflare adapter is used.
The respective reproduction is added as PR #443

What's the expected result?

The Vitest test run runs without timeout on close at the end.

Link to Minimal Reproducible Example

https://github.com/skf-funzt/adapters-cf-vitest-hang/tree/reproduction/vitest-hanging-process

Participation

  • I am willing to submit a pull request for this issue.
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

No branches or pull requests

1 participant