nodeSolidServer / nodeSolidServer/node-solid-server

Fresh NSS Install - One-Time Failure

Open
#1,794 1 comment 0 reactions 0 assignees View on GitHub

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:
  1. Install NSS (Node Solid Server).
  2. 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

Open the contributing guide

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.