redhat-developer / redhat-developer/vscode-java
onDidClasspathUpdate failing intermittently
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- TypeScript
- Star
- 2.3k
- Fork
- 546
- Merge trung bình
- 20 giờ 1 phút
- Pull request đã merge (30 ngày)
- 11
Mô tả
In test/standard-mode-suite/publicApi.test.ts. Also discussed during our migration in https://github.com/redhat-developer/vscode-java/pull/2031
1) Public APIs - Standard
onDidClasspathUpdate should work:
Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/vscode-java/vscode-java/out/test/standard-mode-suite/publicApi.test.js)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
I don't think it's strictly related to how fast the builder is, because I can't reproduce locally consistently by just limiting the process to 10% of CPU but I get the impression it happens on weaker builders under Github Actions. We had similar issues in https://github.com/redhat-developer/vscode-quarkus/issues/379 and increasing the timeouts worked, but I wonder if something else is happening here.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- 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/standard-mode-suite/publicApi.test.ts và tái hiện timeout không ổn định của onDidClasspathUpdate được nêu trong issue. Xem lại thảo luận về việc migration trong pull request 2031 và issue 379 liên quan của vscode-quarkus, sau đó xác định liệu lỗi có cần thay đổi timeout hay một cách sửa khác; hoàn thành có nghĩa là test hoàn tất một cách ổn định trong GitHub Actions.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- typescript
- Lĩnh vực
- testing
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 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
- 38/100