tstest/integration/vms: use one testcontrol instance per VM (#2437)

This paves the way for future MagicDNS tests.

Signed-off-by: Christine Dodrill <xe@tailscale.com>
This commit is contained in:
Christine Dodrill
2021-07-16 11:53:12 -04:00
committed by GitHub
parent 171ec9f8f4
commit 391207bbcf
5 changed files with 113 additions and 101 deletions

View File

@ -166,7 +166,7 @@ func copyUnit(t *testing.T, bins *integration.Binaries) {
}
}
func (h Harness) makeNixOSImage(t *testing.T, d Distro, cdir string) string {
func (h *Harness) makeNixOSImage(t *testing.T, d Distro, cdir string) string {
copyUnit(t, h.bins)
dir := t.TempDir()
fname := filepath.Join(dir, d.name+".nix")