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
Christine Dodrill 33cacb5284
tstest/integration/vms: unbreak nixos builds (#2372)
To avoid the generated nixos disk images from becoming immune from the
GC, I delete the symlink to the nix store at the end of tests.
`t.Cleanup` runs at the end of a test. I changed this part of the code
to have a separate timer for how long it takes to run NixOS builds, but
I did that by using a subtest. This means that it was creating the NixOS
image, deleting its symlink and then trying to use that symlink to find
the resulting disk image, making the whole thing ineffectual.

This was a mistake. I am reverting this change made in
https://github.com/tailscale/tailscale/pull/2360 to remove this layer of
subtesting.

Signed-off-by: Christine Dodrill <xe@tailscale.com>
4 years ago
..
integration tstest/integration/vms: unbreak nixos builds (#2372) 4 years ago
natlab staticcheck.conf: turn off noisy lint errors 5 years ago
staticcheck tstest/staticcheck: import the main package to fix "go mod tidy" 5 years ago
clock.go tstest/natlab: add a stateful firewall. 5 years ago
log.go types/logger: add key grinder stats lines to rate-limiting exemption list 5 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