Skip to content

Commit 9158a3d

Browse files
authored
test: add small wait to reduce test flakyness
1 parent 47a86c3 commit 9158a3d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/exchange/test_exchange_ws.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ async def sleeper(*args, **kwargs):
101101
time_machine.shift(timedelta(minutes=5))
102102
await asyncio.sleep(0.1)
103103
exchange_ws.schedule_ohlcv("ETH/BTC", "1m", CandleType.SPOT)
104+
await asyncio.sleep(0.1)
104105
# XRP/BTC should be cleaned up.
105106
assert exchange_ws._klines_watching == {
106107
("ETH/BTC", "1m", CandleType.SPOT),

0 commit comments

Comments
 (0)