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
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>
4 years ago
..
archtest go.mod: bump netstack for mipsle fix 4 years ago
integration tstest/integration: build binaries only once 4 years ago
natlab fix: typo spelling grammar 4 years ago
staticcheck tstest/staticcheck: import the main package to fix "go mod tidy" 5 years ago
allocs.go util/testingutil: new package with MinAllocsPerRun 4 years ago
clock.go tstest/natlab: add a stateful firewall. 5 years ago
log.go tstest: make MemLogger.String acquire its mutex 4 years ago
log_test.go tstest: rename LogListener to LogLineTracker 5 years ago
resource.go net/dns{,/resolver}: refactor DNS forwarder, send out of right link on macOS/iOS 5 years ago
tstest.go tstest: add WaitFor helper 5 years ago