From 149f76b6c55587d098122bb47109c10221acfe48 Mon Sep 17 00:00:00 2001 From: Kevin Heifner Date: Tue, 11 Jul 2023 10:37:28 -0500 Subject: [PATCH] GH-1383 Fix ship test to wait on correct transaction --- tests/ship_streamer_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ship_streamer_test.py b/tests/ship_streamer_test.py index 9ee47c9338..8134e4dc50 100755 --- a/tests/ship_streamer_test.py +++ b/tests/ship_streamer_test.py @@ -137,7 +137,7 @@ def getLatestSnapshot(nodeId): nonProdNode.waitForTransBlockIfNeeded(trans, True, exitOnError=True) for account in accounts: Print(f"Transfer funds {transferAmount} from account {cluster.eosioAccount.name} to {account.name}") - nonProdNode.transferFunds(cluster.eosioAccount, account, transferAmount, "test transfer", waitForTransBlock=False) + trans=nonProdNode.transferFunds(cluster.eosioAccount, account, transferAmount, "test transfer", waitForTransBlock=False) nonProdNode.waitForTransBlockIfNeeded(trans, True, exitOnError=True) for account in accounts: trans=nonProdNode.delegatebw(account, 20000000.0000, 20000000.0000, waitForTransBlock=False, exitOnError=True)