tailscale/tstest/integration
Josh Bleecher Snyder 4691e012a9 tstest/integration: build binaries only once
The existing code relied on the Go build cache to avoid
needless work when obtaining the tailscale binaries.

For non-obvious reasons, the binaries were getting re-linked
every time, which added 600ms or so on my machine to every test.

Instead, build the binaries exactly once, on demand.
This reduces the time to run 'go test -count=5' from 34s to 10s
on my machine.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2021-12-13 14:38:08 -08:00
..
testcontrol tstest/integration/testcontrol: fix data race 2021-11-11 08:25:16 -08:00
vms tstest/integration: build binaries only once 2021-12-13 14:38:08 -08:00
gen_deps.go tstest/integration: don't include stdlib deps in go generate output 2021-11-03 11:59:59 -07:00
integration_test.go tstest/integration: build binaries only once 2021-12-13 14:38:08 -08:00
integration.go tstest/integration: build binaries only once 2021-12-13 14:38:08 -08:00
tailscaled_deps_test_darwin.go net/tsdial: move more weirdo dialing into new tsdial package, plumb 2021-12-01 10:36:55 -08:00
tailscaled_deps_test_freebsd.go net/tsdial: move more weirdo dialing into new tsdial package, plumb 2021-12-01 10:36:55 -08:00
tailscaled_deps_test_linux.go net/tsdial: move more weirdo dialing into new tsdial package, plumb 2021-12-01 10:36:55 -08:00
tailscaled_deps_test_openbsd.go net/tsdial: move more weirdo dialing into new tsdial package, plumb 2021-12-01 10:36:55 -08:00
tailscaled_deps_test_windows.go net/tsdial: move more weirdo dialing into new tsdial package, plumb 2021-12-01 10:36:55 -08:00