Skip to content

Commit c0faa06

Browse files
committed
fixup intermittent error in p2p_instantlock.py
1 parent d77c3df commit c0faa06

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/functional/test_framework/test_framework.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1646,11 +1646,11 @@ def create_isdlock(self, hextx):
16461646

16471647
def wait_for_instantlock(self, txid, node, expected=True, timeout=60):
16481648
def check_instantlock():
1649+
self.bump_mocktime(1)
16491650
try:
16501651
return node.getrawtransaction(txid, True)["instantlock"]
16511652
except:
16521653
return False
1653-
self.bump_mocktime(1)
16541654
if self.wait_until(check_instantlock, timeout=timeout, do_assert=expected) and not expected:
16551655
raise AssertionError("waiting unexpectedly succeeded")
16561656

@@ -1776,7 +1776,6 @@ def check_dkg_session():
17761776
return member_count >= expected_member_count
17771777

17781778
self.wait_until(check_dkg_session, timeout=timeout)
1779-
# time.sleep(0.5)
17801779

17811780
def wait_for_quorum_commitment(self, quorum_hash, nodes, llmq_type=100, timeout=15):
17821781
def check_dkg_comitments():

0 commit comments

Comments
 (0)