Fix server test timeout

Signed-off-by: dusan <borovcanindusan1@gmail.com>
This commit is contained in:
dusan
2026-02-05 16:52:56 +01:00
parent 69f1a2049c
commit 41734e4cc2
+1
View File
@@ -130,6 +130,7 @@ func TestTLS_RequireClientCert(t *testing.T) {
err := tlsHandshakeWithTimeout(tlsClient, 2*time.Second)
if err == nil {
_ = tlsClient.SetDeadline(time.Now().Add(1 * time.Second))
connectPkt := &v3.Connect{
FixedHeader: v3.FixedHeader{PacketType: v3.ConnectType},
ProtocolName: "MQTT",