From: Jeff Halter Date: Mon, 6 Jun 2022 00:39:34 +0000 (-0700) Subject: Fix handshake test X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/commitdiff_plain/b365559d0b92cbd2193d72365d32baa62c62a98e?ds=sidebyside Fix handshake test --- diff --git a/hotline/server_blackbox_test.go b/hotline/server_blackbox_test.go index ee5f76b..4e7ea8e 100644 --- a/hotline/server_blackbox_test.go +++ b/hotline/server_blackbox_test.go @@ -103,7 +103,7 @@ func TestHandshake(t *testing.T) { } defer conn.Close() - conn.Write([]byte{0x54, 0x52, 0x54, 0x50, 0x00, 0x01, 0x00, 0x00}) + conn.Write([]byte{0x54, 0x52, 0x54, 0x50, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02}) replyBuf := make([]byte, 8) _, _ = conn.Read(replyBuf)