Skip to content

x/tools/gopls/internal/cmd: TestMCP* tests fail on Plan 9 #74580

Open
@millerresearch

Description

@millerresearch

TestMCPCommandLogging, TestMCPCommandStdio and TestMCPCommandHTTP can only be run on platforms where fsnotify is supported. This is breaking the x/tools repo build on Plan 9:

gopls: fsnotify not supported on the current platform
*** Test killed with quit: ran too long (11m0s).
signal: killed
--- FAIL: TestMCPCommandLogging (4.91s)
--- FAIL: TestMCPCommandLogging/notrace.log (2.20s)
    mcp_test.go:135: calling "initialize": EOF
--- FAIL: TestMCPCommandLogging/trace.log (2.68s)
    mcp_test.go:135: calling "initialize": EOF
--- FAIL: TestMCPCommandStdio (2.42s)
    mcp_test.go:51: calling "initialize": EOF
FAIL	golang.org/x/tools/gopls/internal/cmd	720.047s

The tests are already skipped on other unsupported platforms because of the lack of execve support.

Metadata

Metadata

Assignees

Labels

BugReportIssues describing a possible bug in the Go implementation.ToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions