sleep a bit

tests work locally, seeing if added sleeps fix CI
This commit is contained in:
Brian Martin 2020-01-03 01:43:56 -05:00
parent 63e0620f0c
commit cb693b5cf6
2 changed files with 7 additions and 1 deletions

View file

@ -154,6 +154,7 @@ async def test_helperbot_message():
mqtt_helperbot.Client.disconnect()
await mqtt_server.broker.shutdown()
await asyncio.sleep(0.1)
async def test_helperbot_expire_message():
@ -220,6 +221,7 @@ async def test_helperbot_expire_message():
mqtt_helperbot.Client.disconnect()
await mqtt_server.broker.shutdown()
await asyncio.sleep(0.1)
async def test_helperbot_sendcommand():
@ -368,6 +370,7 @@ async def test_helperbot_sendcommand():
mqtt_helperbot.Client.disconnect()
await mqtt_server.broker.shutdown()
await asyncio.sleep(0.1)
async def test_mqttserver():
@ -604,6 +607,7 @@ async def test_passwordfile_opt_missing_mqttserver():
await mqtt_server.broker_coro()
await mqtt_server.broker.shutdown()
await asyncio.sleep(0.1)
except:
pass