From 9279865078c9f29414f4dffdd048f6aaa60c5605 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Fri, 8 Apr 2022 12:59:25 -0400 Subject: [PATCH] add sleep to transaction show test per jack suggestion --- tests/integration/transactions/test_transaction_commands.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/integration/transactions/test_transaction_commands.py b/tests/integration/transactions/test_transaction_commands.py index 8252d4bb1..4b478af04 100644 --- a/tests/integration/transactions/test_transaction_commands.py +++ b/tests/integration/transactions/test_transaction_commands.py @@ -1,3 +1,4 @@ +import asyncio import unittest from lbry.testcase import CommandTestCase @@ -28,6 +29,7 @@ class TransactionCommandsTestCase(CommandTestCase): # someone's tx change_address = await self.blockchain.get_raw_change_address() sendtxid = await self.blockchain.send_to_address(change_address, 10) + await asyncio.sleep(0.2) tx = await self.daemon.jsonrpc_transaction_show(sendtxid) self.assertEqual(tx.id, sendtxid) self.assertEqual(tx.height, -1)