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

Improve testing of COW/Fetch #157

Open
james-pre opened this issue Dec 9, 2024 · 0 comments
Open

Improve testing of COW/Fetch #157

james-pre opened this issue Dec 9, 2024 · 0 comments
Assignees
Labels
ci/cd Continuous Integration / Continuous Development

Comments

@james-pre
Copy link
Member

Right now, tests/setup/cow+fetch.ts handles creating a HTTP server. Since it is run for every test suite/file, it gracefully continues if the server is already running. Sometimes, there is a small amount of time when a server is not running but a test is, which causes it to fail.

This can be fixed by having the server run externally from the test suites, meaning only one server would run for all of them. The change will also have the tests running a lot faster.

@james-pre james-pre added the ci/cd Continuous Integration / Continuous Development label Dec 9, 2024
@james-pre james-pre self-assigned this Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/cd Continuous Integration / Continuous Development
Projects
None yet
Development

No branches or pull requests

1 participant