nodeSolidServer / nodeSolidServer/node-solid-server
Fresh NSS Install - One-Time Failure
未關閉
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 1.8k
- 分支
- 308
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 test/integration/formats-test.js 開始,具體檢查在全新安裝 NSS 後逾時的 formats/turtle 測試。在安裝完成後立即執行測試,然後在不做任何變更的情況下再次執行,接著檢查失敗訊息中顯示的非同步設定和逾時行為。測試能在第一次執行時可靠通過,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript, nodejs
- 領域
- testing-qa
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100