nodeSolidServer / nodeSolidServer/node-solid-server

Fresh NSS Install - One-Time Failure

Đang mở
#1,794 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
JavaScript
Star
1.8k
Fork
308
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu với test/integration/formats-test.js, cụ thể là bài test formats/turtle bị timeout sau khi cài đặt NSS mới. Chạy bài test ngay sau khi cài đặt và chạy lại một lần nữa mà không thay đổi gì, sau đó kiểm tra phần thiết lập bất đồng bộ và hành vi timeout được thể hiện trong lỗi. Hoàn tất khi bài test vượt qua ổn định ngay trong lần chạy đầu tiên.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript, nodejs
Lĩnh vực
testing-qa
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.