mirror of
https://github.com/eclipse/mosquitto.git
synced 2025-05-09 09:11:11 +08:00
Fix test
This commit is contained in:
parent
66b68a80dd
commit
d0d0ac4bd6
@ -75,8 +75,11 @@ def do_test(proto_ver):
|
|||||||
bridge.send(bytes.fromhex("320c00062b2b2b2b2b2b00040033"))
|
bridge.send(bytes.fromhex("320c00062b2b2b2b2b2b00040033"))
|
||||||
#bridge.send(bytes.fromhex("320c00062b2b2b2b2b2b00040033"))
|
#bridge.send(bytes.fromhex("320c00062b2b2b2b2b2b00040033"))
|
||||||
#bridge.send(bytes.fromhex("320c00062b2b2b2b2b2b00040033"))
|
#bridge.send(bytes.fromhex("320c00062b2b2b2b2b2b00040033"))
|
||||||
mosq_test.do_ping(bridge)
|
bridge.send(bytes.fromhex("C000")) # PING
|
||||||
except (ConnectionResetError, BrokenPipeError):
|
d = bridge.recv(1)
|
||||||
|
if len(d) == 0:
|
||||||
|
rc = 0
|
||||||
|
except (ConnectionResetError, BrokenPipeError, mosq_test.TestError):
|
||||||
#expected behaviour
|
#expected behaviour
|
||||||
rc = 0
|
rc = 0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user