Skip to content

Commit

Permalink
Further attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed May 29, 2019
1 parent 18b897e commit f14a47c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/broker/11-message-expiry.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ def write_config(filename, port):
sock.close()
broker = mosq_test.start_broker(filename=os.path.basename(__file__), use_conf=True, port=port)

time.sleep(2)
if os.environ.get('TRAVIS') is not None:
time.sleep(5)
else:
time.sleep(2)

sock = mosq_test.do_client_connect(connect_packet, connack2_packet, timeout=20, port=port)
packet = sock.recv(len(publish2s_packet))
Expand Down

0 comments on commit f14a47c

Please sign in to comment.