From b7e1443618b867e1fdb79d8cf347b50bd2909237 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sat, 10 Dec 2022 15:32:09 -0500 Subject: [PATCH] Use ETH on kraken to ensure enough quotes --- tests/test_feeds.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_feeds.py b/tests/test_feeds.py index ec25b11b..b357d615 100644 --- a/tests/test_feeds.py +++ b/tests/test_feeds.py @@ -25,10 +25,10 @@ from piker.data._source import ( (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]}', ) @@ -96,7 +96,7 @@ def test_multi_fqsn_feed( 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