tsnet: fix panic caused by logging after test finishes

Updates #13773

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I95e03eb6aef1639bd4a2efd3a415e2c10cdebc5a
This commit is contained in:
Andrew Dunham 2024-10-09 18:14:50 -04:00
parent 1938685d39
commit 91f58c5e63

View File

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