]> git.r.bdr.sh - rbdr/mobius/commitdiff
Fix handshake test
authorJeff Halter <redacted>
Mon, 6 Jun 2022 00:39:34 +0000 (17:39 -0700)
committerJeff Halter <redacted>
Mon, 6 Jun 2022 00:39:34 +0000 (17:39 -0700)
hotline/server_blackbox_test.go

index ee5f76b04d68ec43ef08b0c46e6f5dd4444aa992..4e7ea8e2e13a19056fab738c69473d2a21f24638 100644 (file)
@@ -103,7 +103,7 @@ func TestHandshake(t *testing.T) {
        }
        defer conn.Close()
 
        }
        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)
 
        replyBuf := make([]byte, 8)
        _, _ = conn.Read(replyBuf)