Skip to content

gopls "Nonexistent formatter" test on windows frequently fails #2454

@hyangah

Description

@hyangah

From the trace, it looks like the test fails to teardown the gopls on time.

  1) Go Extension Tests With Gopls
       "after all" hook for "Nonexistent formatter":
     Error: Stopping the server timed out
  	at d:\a\vscode-go\vscode-go\node_modules\vscode-languageclient\lib\common\client.js:898:23
  	at async Env.teardown (d:\a\vscode-go\vscode-go\out\test\gopls\extension.test.js:135:9)

Error: 1 tests failed.
	at d:\a\vscode-go\vscode-go\out\test\gopls\index.js:59:27
	at done (d:\a\vscode-go\vscode-go\node_modules\mocha\lib\mocha.js:1068:7)
[main 2022-09-12T19:39:40.988Z] Waiting for extension host with pid 6368 to exit.
[main 2022-09-12T19:39:41.054Z] Extension host with pid 6368 exited with code: 0, signal: null.
Exit code:   1
Done

Metadata

Metadata

Assignees

Labels

NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.chore/testingissues related to bugs in test, CI setup

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions