redhat-developer / redhat-developer/vscode-java
Intermitent test failures in "should register all java commands"
Đang mở
Chưa có ai nhận issue này.
bug
build/infra
- 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ả
On the build job, this only fails on Mac but I have been able to reproduce the failures locally as well on Linux.
1) Java Language Extension - Standard
should register all java commands:
AssertionError [ERR_ASSERTION]: Some Java commands are not registered properly or a new command is not added to the test.
...
...
+ expected - actual
"java.action.showSupertypeHierarchy"
"java.action.showTypeHierarchy"
"java.apply.workspaceEdit"
"java.clean.workspace"
- "java.edit.organizeImports"
"java.execute.workspaceCommand"
"java.ignoreIncompleteClasspath"
"java.ignoreIncompleteClasspath.help"
"java.open.clientLog"
--
"java.open.serverLog"
"java.project.addToSourcePath"
"java.project.import"
"java.project.listSourcePaths"
- "java.project.refreshDiagnostics"
"java.project.removeFromSourcePath"
"java.project.updateSourceAttachment"
"java.projectConfiguration.status"
"java.projectConfiguration.update"
at /Users/travis/build/redhat-developer/vscode-java/out/test/standard-mode-suite/extension.test.js:74:20
at processTicksAndRejections (internal/process/task_queues.js:97:5)
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 từ assertion bị lỗi trong out/test/standard-mode-suite/extension.test.js và chạy test "should register all java commands" trên Mac và Linux. So sánh danh sách command đã đăng ký giữa các lần chạy để xác định điểm khác biệt không ổn định; hoàn thành khi test luôn vượt qua một cách đáng tin cậy trên các nền tảng bị ảnh hưởng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java, typescript, vscode
- 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
- 35/100