tsnet: fix panic caused by logging after test finishes

Updates #13773

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I95e03eb6aef1639bd4a2efd3a415e2c10cdebc5a
pull/13774/head
Andrew Dunham 1 month ago
parent 1938685d39
commit 91f58c5e63

@ -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