mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-11 05:07:33 +00:00
derp/derphttp: ignore PeerGoneMessage in test
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user