From 001c8e1930df78246c5c8ce094093788b2fa2119 Mon Sep 17 00:00:00 2001 From: timotheyca Date: Thu, 23 Jun 2022 00:59:26 +0300 Subject: [PATCH] fix tests --- rainbowadn/testing/test_all.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rainbowadn/testing/test_all.py b/rainbowadn/testing/test_all.py index 89f7428..0f3d9e1 100644 --- a/rainbowadn/testing/test_all.py +++ b/rainbowadn/testing/test_all.py @@ -31,7 +31,7 @@ class TestAll(unittest.IsolatedAsyncioTestCase): return dr async def test_bankchain(self): - set_gather_asyncio() + set_gather_linear() with self.subTest('create empty'): bank: BankChain = BankChain.empty(ReductionChainMetaFactory().loose()) with self.subTest('prepare transactions'): @@ -158,7 +158,7 @@ class TestAll(unittest.IsolatedAsyncioTestCase): print(await AVL.height(tree.protocolized())) async def test_encryption(self): - set_gather_asyncio() + set_gather_linear() instrumentation = Counter(Encrypted, 'encrypt') with self.subTest('setup'): key = b'a' * 32