go/gopls/internal/regtest
Rob Findley 08f19738fa gopls/internal/regtest: only run in singleton mode
singleton mode is naturally less flaky and faster than forwarded mode,
and provides 98% of the coverage.

Regtests have started to time-out in some particularly slow
environments.  Rather than not be able to write more regtests, let's
first run only in singleton mode by default.

I'll set up Kokoro CI to run in all modes.

Change-Id: I6b1c11b75f6c8fe002c123ab75b02f674e67e442
Reviewed-on: https://go-review.googlesource.com/c/tools/+/259137
Trust: Rebecca Stambler <rstambler@golang.org>
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-10-02 16:18:17 +00:00
..
bench_test.go gopls/internal/regtest: always await InitialWorkspaceLoad 2020-09-29 16:13:45 +00:00
codelens_test.go gopls/internal/regtest: always await InitialWorkspaceLoad 2020-09-29 16:13:45 +00:00
completion_bench_test.go gopls/internal/regtest: always await InitialWorkspaceLoad 2020-09-29 16:13:45 +00:00
completion_test.go gopls/internal/regtest: add benchmarks for completions 2020-09-24 16:27:44 +00:00
configuration_test.go gopls/internal/regtest: always await InitialWorkspaceLoad 2020-09-29 16:13:45 +00:00
definition_test.go gopls/integration/regtest: move regtests to the gopls module 2020-09-03 18:25:45 +00:00
diagnostics_test.go internal/lsp: fix go.mod creation without experimental workspace module 2020-10-02 14:15:43 +00:00
doc.go gopls/integration/regtest: move regtests to the gopls module 2020-09-03 18:25:45 +00:00
env.go gopls/internal/regtest: simplify expectation return values 2020-09-16 12:40:19 +00:00
env_test.go gopls/integration/regtest: move regtests to the gopls module 2020-09-03 18:25:45 +00:00
expectation.go gopls/internal/regtest: simplify expectation return values 2020-09-16 12:40:19 +00:00
fix_test.go gopls/internal/regtest: always await InitialWorkspaceLoad 2020-09-29 16:13:45 +00:00
formatting_test.go gopls/integration/regtest: move regtests to the gopls module 2020-09-03 18:25:45 +00:00
generate_test.go internal/lsp: fix go generate command for subdirs 2020-09-24 17:36:56 +00:00
imports_test.go gopls/internal/regtest: always await InitialWorkspaceLoad 2020-09-29 16:13:45 +00:00
link_test.go gopls/integration/regtest: move regtests to the gopls module 2020-09-03 18:25:45 +00:00
modfile_test.go gopls: add a test that mirrors govim's -mod=readonly test 2020-10-02 05:59:58 +00:00
references_test.go gopls/integration/regtest: move regtests to the gopls module 2020-09-03 18:25:45 +00:00
reg_test.go gopls/internal/regtest: allow cleanup to fail on windows 2020-09-30 20:10:28 +00:00
runner.go gopls/internal/regtest: only run in singleton mode 2020-10-02 16:18:17 +00:00
shared_test.go gopls/integration/regtest: move regtests to the gopls module 2020-09-03 18:25:45 +00:00
stress_test.go gopls/integration/regtest: move regtests to the gopls module 2020-09-03 18:25:45 +00:00
symbol_helper_test.go gopls/integration/regtest: move regtests to the gopls module 2020-09-03 18:25:45 +00:00
symbol_test.go internal/lsp/source: add some additional symbol downranking 2020-09-16 12:25:06 +00:00
unix_test.go gopls/internal/regtest: simplify regtest EditorConfig 2020-09-16 12:02:33 +00:00
vendor_test.go gopls/integration/regtest: move regtests to the gopls module 2020-09-03 18:25:45 +00:00
watch_test.go gopls/internal/regtest: always await InitialWorkspaceLoad 2020-09-29 16:13:45 +00:00
workspace_test.go internal/lsp: fix and add a test for non-workspace module mode 2020-10-01 21:53:43 +00:00
wrappers.go gopls: add a test that mirrors govim's -mod=readonly test 2020-10-02 05:59:58 +00:00