stac-utils / stac-utils/stac-server

tests timeout when running with ava 6.0

Open
#666 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
103
Forks
28
PR merge metrics
No merged PRs in 30d

Description

https://github.com/avajs/ava/releases/tag/v6.0.0

When tests finish, worker threads or child processes are no longer exited through proces.exit(). If your test file does not exit on its own, the test run will time out. https://github.com/avajs/ava/pull/3260

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the timeout with AVA 6.0.0 and inspect how the test suite's worker threads or child processes are shut down. Identify the affected test entry point, make the suite exit cleanly after tests finish, and verify that the full test run no longer times out.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.