Gopher Robot submitted the change![Open in Gerrit]()
Change information
Commit message:
gopls/internal/cmd: fix flaky mcp http test
In the most recent flake of the TestMCPCommandHTTP, the call
to client.Connect failed even though the preceding call to net.Dial
was successful. This could happen if the port is open,
but client.Connect is called before the MCP HTTP server is
finished setting up the request handlers.
Change-Id: I044e98c69171e897278c337cce1e384840393f71
Files:
- M gopls/internal/cmd/mcp_test.go
Change size: S
Delta: 1 file changed, 7 insertions(+), 6 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +2 by Alan Donovan, +2 by Robert Findley
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Gerrit-MessageType: merged
Gerrit-Project: tools
Gerrit-Branch: master
Gerrit-Change-Id: I044e98c69171e897278c337cce1e384840393f71
Gerrit-Change-Number: 686675
Gerrit-PatchSet: 3