tsnet: fix panic caused by logging after test finishes

Updates #13773

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I95e03eb6aef1639bd4a2efd3a415e2c10cdebc5a
main
Andrew Dunham 2 years ago
parent 1938685d39
commit 91f58c5e63
  1. 2
      tsnet/tsnet_test.go

@ -510,7 +510,7 @@ func TestStartStopStartGetsSameIP(t *testing.T) {
Dir: tmps1,
ControlURL: controlURL,
Hostname: "s1",
Logf: logger.TestLogger(t),
Logf: tstest.WhileTestRunningLogger(t),
}
}
s1 := newServer()

Loading…
Cancel
Save