1
0
mirror of https://github.com/eclipse/mosquitto.git synced 2025-05-08 16:52:13 +08:00
This commit is contained in:
Roger A. Light 2025-02-25 13:57:32 +00:00
parent 66b68a80dd
commit d0d0ac4bd6

View File

@ -75,8 +75,11 @@ def do_test(proto_ver):
bridge.send(bytes.fromhex("320c00062b2b2b2b2b2b00040033"))
#bridge.send(bytes.fromhex("320c00062b2b2b2b2b2b00040033"))
#bridge.send(bytes.fromhex("320c00062b2b2b2b2b2b00040033"))
mosq_test.do_ping(bridge)
except (ConnectionResetError, BrokenPipeError):
bridge.send(bytes.fromhex("C000")) # PING
d = bridge.recv(1)
if len(d) == 0:
rc = 0
except (ConnectionResetError, BrokenPipeError, mosq_test.TestError):
#expected behaviour
rc = 0