mirror of
https://github.com/absmach/supermq.git
synced 2026-06-23 06:20:18 +00:00
Fix server test timeout
Signed-off-by: dusan <borovcanindusan1@gmail.com>
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user