Skip to content

Commit 2732094

Browse files
authored
chore: fix tailnet integration test flake (coder#13313)
1 parent b8b80fe commit 2732094

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tailnet/test/integration/integration.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,9 @@ func ExecBackground(t *testing.T, processName string, netNS *os.File, name strin
449449
waitErr := make(chan error, 1)
450450
go func() {
451451
err := cmd.Wait()
452+
if err != nil && strings.Contains(err.Error(), "signal: terminated") {
453+
err = nil
454+
}
452455
waitErr <- err
453456
close(waitErr)
454457
}()

0 commit comments

Comments
 (0)