redhat-developer / redhat-developer/vscode-java
Intermitent test failures in "should register all java commands"
Open
Nobody has claimed this yet.
bug
build/infra
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
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)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with out/test/standard-mode-suite/extension.test.js at the failing assertion and run the "should register all java commands" test on Mac and Linux. Compare the registered command list across runs to identify the intermittent difference; done means the test passes reliably on the affected platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100