mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
chore: fix tailnet integration test flake (#13313)
This commit is contained in:
@@ -449,6 +449,9 @@ func ExecBackground(t *testing.T, processName string, netNS *os.File, name strin
|
||||
waitErr := make(chan error, 1)
|
||||
go func() {
|
||||
err := cmd.Wait()
|
||||
if err != nil && strings.Contains(err.Error(), "signal: terminated") {
|
||||
err = nil
|
||||
}
|
||||
waitErr <- err
|
||||
close(waitErr)
|
||||
}()
|
||||
|
||||
Reference in New Issue
Block a user