nodeSolidServer / nodeSolidServer/node-solid-server
Fresh NSS Install - One-Time Failure
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.8k
- Forks
- 308
- PR merge metrics
- No merged PRs in 30d
Description
Fresh NSS Install - One-Time Failure
Issue:
After a fresh installation of NSS, I encountered a test failure on the first run. However, running the test a second time resolved the issue without changes.
Steps to Reproduce:
- Install NSS (Node Solid Server).
- Run the tests immediately after installation.
Result (First Run):
1 failing
1) formats
turtle
should return turtle document if Accept is set to turtle:
Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/melvin/solid/node-solid-server/test/integration/formats-test.js)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)
Result (Second Run):
Tests passed successfully on the second attempt without any changes.
Additional Info:
This appears to be an intermittent issue. It might be related to test timeouts or async handling.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with test/integration/formats-test.js, specifically the formats/turtle test that times out after a fresh NSS installation. Run the test immediately after installation and again without changes, then inspect the asynchronous setup and timeout behavior shown by the failure. Done means the test passes reliably on its first run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100