mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Improve emc test resiliancy
This commit is contained in:
parent
2711605df6
commit
86b30d2d66
|
@ -267,7 +267,7 @@ async def test_emc_create_connection_error(default_conf, caplog, mocker):
|
|||
emc = ExternalMessageConsumer(default_conf, dp)
|
||||
|
||||
try:
|
||||
await asyncio.sleep(0.01)
|
||||
await asyncio.sleep(0.05)
|
||||
assert log_has("Unexpected error has occurred:", caplog)
|
||||
finally:
|
||||
emc.shutdown()
|
||||
|
|
Loading…
Reference in New Issue
Block a user