From d69030951389d5d2c160e13024c86ca815a5a5e4 Mon Sep 17 00:00:00 2001 From: Konstantin Akimov Date: Thu, 17 Oct 2024 03:03:09 +0700 Subject: [PATCH] fix: limit amount of attempts for test `test_withdrawal_fork` --- test/functional/feature_asset_locks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/feature_asset_locks.py b/test/functional/feature_asset_locks.py index 89bbd6caa8..f802edd056 100755 --- a/test/functional/feature_asset_locks.py +++ b/test/functional/feature_asset_locks.py @@ -646,7 +646,7 @@ class AssetLocksTest(DashTestFramework): assert softfork_active(node_wallet, 'withdrawals') index = 501 - while True: + while index < 511: self.log.info(f"Generating new Asset Unlock tx, index={index}...") asset_unlock_tx = self.create_assetunlock(index, COIN, pubkey) asset_unlock_tx_payload = CAssetUnlockTx()