x/tools/gopls/internal/regtest/completion: 测试后缀代码片段补全失败

vdzxcuhz  于 4个月前  发布在  Go
关注(0)|答案(3)|浏览(43)
#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/internal/regtest/completion" && test == "TestPostfixSnippetCompletion"

Bug automatically created to collect these failures.
Example log :

panic: test timed out after 10m0s

testing.(*T).Run(0xc00305a4e0, {0x1ab1aee?, 0xc000cf6160?}, 0xc001f17cc0)
	/Users/gopher/workdir/go/src/testing/testing.go:1494 +0x37a
golang.org/x/tools/internal/lsp/regtest.(*Runner).Run(0xc0004ae640, 0xc00305a4e0, {0x1af40be, 0x26}, 0xc000cf6160, {0xc00006ff50, 0x1, 0x421bc1ec91?})
	/Users/gopher/workdir/gopath/src/golang.org/x/tools/internal/lsp/regtest/runner.go:268 +0x3e5
golang.org/x/tools/internal/lsp/regtest.configuredRunner.Run(...)
	/Users/gopher/workdir/gopath/src/golang.org/x/tools/internal/lsp/regtest/regtest.go:66
golang.org/x/tools/gopls/internal/regtest/completion.TestPostfixSnippetCompletion(0xc0029991e0?)
	/Users/gopher/workdir/gopath/src/golang.org/x/tools/gopls/internal/regtest/completion/postfix_snippet_test.go:440 +0x13d
testing.tRunner(0xc00305a4e0, 0x1c20200)

watchflakes

umuewwlo

umuewwlo1#

找到新的匹配的 Jmeter 板测试碎片:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/internal/regtest/completion" && test == "TestPostfixSnippetCompletion"

2022-08-15 17:37 darwin-amd64-12_0 tools@987de349 go@1f833e4a golang.org/x/tools/gopls/internal/regtest/completion.TestPostfixSnippetCompletion (log)

panic: test timed out after 10m0s

testing.(*T).Run(0xc00305a4e0, {0x1ab1aee?, 0xc000cf6160?}, 0xc001f17cc0)
	/Users/gopher/workdir/go/src/testing/testing.go:1494 +0x37a
golang.org/x/tools/internal/lsp/regtest.(*Runner).Run(0xc0004ae640, 0xc00305a4e0, {0x1af40be, 0x26}, 0xc000cf6160, {0xc00006ff50, 0x1, 0x421bc1ec91?})
	/Users/gopher/workdir/gopath/src/golang.org/x/tools/internal/lsp/regtest/runner.go:268 +0x3e5
golang.org/x/tools/internal/lsp/regtest.configuredRunner.Run(...)
	/Users/gopher/workdir/gopath/src/golang.org/x/tools/internal/lsp/regtest/regtest.go:66
golang.org/x/tools/gopls/internal/regtest/completion.TestPostfixSnippetCompletion(0xc0029991e0?)
	/Users/gopher/workdir/gopath/src/golang.org/x/tools/gopls/internal/regtest/completion/postfix_snippet_test.go:440 +0x13d
testing.tRunner(0xc00305a4e0, 0x1c20200)

2022-09-07 22:05 darwin-arm64-11 tools@a6307518 go@51fdfeb1 golang.org/x/tools/gopls/internal/regtest/completion.TestPostfixSnippetCompletion (log)

panic: test timed out after 10m0s

testing.(*T).Run(0x14002878ea0, {0x100b16e4d?, 0x14000077e68?}, 0x1400274bc20)
	/tmp/buildlet/go/src/testing/testing.go:1527 +0x314
golang.org/x/tools/gopls/internal/lsp/regtest.(*Runner).Run(0x14000339180, 0x14002878ea0, {0x100b5944f, 0x26}, 0x1400078d800, {0x14000077f48, 0x1, 0x1003a7f6c?})
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/regtest/runner.go:268 +0x394
golang.org/x/tools/gopls/internal/lsp/regtest.configuredRunner.Run(...)
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/regtest/regtest.go:66
golang.org/x/tools/gopls/internal/regtest/completion.TestPostfixSnippetCompletion(0x140030b0000?)
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/regtest/completion/postfix_snippet_test.go:440 +0x150
testing.tRunner(0x14002878ea0, 0x100f21e28)

watchflakes

zhte4eai

zhte4eai2#

翻译结果为:发现新的 Jmeter 板测试碎片:

$x_1a_{0b}x_2023-06-26 14:06 darwin-arm64-12 tools@9d8d4089 go@9a2e6c9c x/tools/gopls/internal/regtest/completion.TestPostfixSnippetCompletion ( x_{1e0f1}x )

x_{1a1b1}x

\textcircled{x}_{1e1f1}x

k7fdbhmy

k7fdbhmy3#

第一个日志显示在darwin上等待子进程的阻塞更多;参见#63937

相关问题