You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
3 years ago
..
testcontrol tstest/integration/testcontrol: fix data race 3 years ago
vms tstest/integration: build binaries only once 3 years ago
gen_deps.go tstest/integration: don't include stdlib deps in go generate output 3 years ago
integration.go tstest/integration: build binaries only once 3 years ago
integration_test.go tstest/integration: build binaries only once 3 years ago
tailscaled_deps_test_darwin.go net/tsdial: move more weirdo dialing into new tsdial package, plumb 3 years ago
tailscaled_deps_test_freebsd.go net/tsdial: move more weirdo dialing into new tsdial package, plumb 3 years ago
tailscaled_deps_test_linux.go net/tsdial: move more weirdo dialing into new tsdial package, plumb 3 years ago
tailscaled_deps_test_openbsd.go net/tsdial: move more weirdo dialing into new tsdial package, plumb 3 years ago
tailscaled_deps_test_windows.go net/tsdial: move more weirdo dialing into new tsdial package, plumb 3 years ago