mirror of
https://github.com/tailscale/tailscale.git
synced 2026-12-04 15:42:20 -08:00
derp: handle net.ErrClosed in TestSendFreeze
Signed-off-by: Maisem Ali <[email protected]>
This commit is contained in:
1 parent
8e75c8504c
commit
4d142ebe06
1 file changed
+1
-1
+1
-1
@@ -409,7 +409,7 @@ func TestSendFreeze(t *testing.T) {
|
||||
for i := 0; i < cap(errCh); i++ {
|
||||
err := <-errCh
|
||||
if err != nil {
|
||||
if errors.Is(err, io.EOF) {
|
||||
if errors.Is(err, io.EOF) || errors.Is(err, net.ErrClosed) {
|
||||
continue
|
||||
}
|
||||
t.Error(err)
|
||||
|
||||
Reference in new issue
Block a user