Skip to content

Commit

Permalink
Use ETH on kraken to ensure enough quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
goodboy committed Dec 10, 2022
1 parent 55973c0 commit 13d81eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_feeds.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
(100, {'btcusdt.binance', 'ethusdt.binance'}),
# kraken
(20, {'xbteur.kraken', 'xbtusd.kraken'}),
(20, {'ethusdt.kraken', 'xbtusd.kraken'}),
# binance + kraken
(200, {'btcusdt.binance', 'xbtusd.kraken'}),
(100, {'btcusdt.binance', 'xbtusd.kraken'}),
],
ids=lambda param: f'quotes={param[0]}@fqsns={param[1]}',
)
Expand Down Expand Up @@ -96,7 +96,7 @@ async def main():
assert quote['last'] == flume.first_quote['last']

cntr = Counter()
with trio.fail_after(5):
with trio.fail_after(6):
async for quotes in stream:
for fqsn, quote in quotes.items():
cntr[fqsn] += 1
Expand Down

0 comments on commit 13d81eb

Please sign in to comment.