Skip to content

x/tools/gopls: frequent failures in TestSource/*/testdata/lsp/CompletionSnippets/address_68_11_1_placeholders #38269

Closed
@stamblerre

Description

@stamblerre

I had thought that this was fixed by https://golang.org/cl/227057, but looks like it's still popping up everywhere. It seems to only happen in the source tests (internal/lsp/source), not the LSP tests (internal/lsp), which makes me wonder if the timeouts are set differently in those tests.

--- FAIL: TestSource/GOPATH/testdata/lsp/CompletionSnippets/address_68_11_1_placeholders (0.03s)
source_test.go:143: /workdir/tmp/TestSource_GOPATH417832833/lsp/src/golang.org/x/tools/internal/lsp/address/address.go:68:11-12: 
couldn't find completion matching "&getFoo().ptr().c"

/cc @heschik @findleyr

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeTestingAn issue that has been verified to require only test changes, not just a test failure.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