tailscale/tstest/integration
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>
2021-07-09 11:02:19 -04:00
..
testcontrol cmd/tailscale: make netcheck use active DERP map, delete static copy 2021-06-28 14:08:47 -07:00
vms tstest/integration/vms: unbreak nixos builds (#2372) 2021-07-09 11:02:19 -04:00
gen_deps.go tstest/integration: help bust cmd/go's test caching 2021-07-07 13:14:21 -07:00
integration.go tstest/integration/vms: use an in-process logcatcher (#2360) 2021-07-08 14:39:45 -04:00
integration_test.go tstest/integration/vms: use an in-process logcatcher (#2360) 2021-07-08 14:39:45 -04:00
tailscaled_deps_test.go tstest/integration: help bust cmd/go's test caching 2021-07-07 13:14:21 -07:00