mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-08 09:07:44 +00:00
derp/derphttp: ignore PeerGoneMessage in test
This commit is contained in:
parent
ea9310403d
commit
1d3f45f9be
@ -103,6 +103,8 @@ func TestSendRecv(t *testing.T) {
|
|||||||
default:
|
default:
|
||||||
t.Errorf("unexpected message type %T", m)
|
t.Errorf("unexpected message type %T", m)
|
||||||
continue
|
continue
|
||||||
|
case derp.PeerGoneMessage:
|
||||||
|
// Ignore.
|
||||||
case derp.ReceivedPacket:
|
case derp.ReceivedPacket:
|
||||||
recvChs[i] <- m.Data
|
recvChs[i] <- m.Data
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user