sleep a bit
tests work locally, seeing if added sleeps fix CI
This commit is contained in:
parent
63e0620f0c
commit
cb693b5cf6
2 changed files with 7 additions and 1 deletions
|
|
@ -84,6 +84,7 @@ async def test_base(aiohttp_client):
|
|||
mqtt_helperbot.Client.disconnect()
|
||||
|
||||
await mqtt_server.broker.shutdown()
|
||||
await asyncio.sleep(0.1)
|
||||
|
||||
bumper.xmpp_server.disconnect()
|
||||
|
||||
|
|
@ -121,7 +122,8 @@ async def test_restartService(aiohttp_client):
|
|||
assert resp.status == 200
|
||||
|
||||
mqtt_helperbot.Client.disconnect()
|
||||
await mqtt_server.broker.shutdown()
|
||||
await mqtt_server.broker.shutdown()
|
||||
await asyncio.sleep(0.1)
|
||||
|
||||
xmpp_server.disconnect()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue