nodeSolidServer / node-solid-server

Solid server on top of the file-system in NodeJS
https://solidproject.org/for-developers/pod-server
Other
1.78k stars 303 forks source link

Fresh NSS Install - One-Time Failure #1794

Open melvincarvalho opened 1 month ago

melvincarvalho commented 1 month ago

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.

CxRes commented 1 month ago

I saw this error as well at random!