Skip to content

Commit 2024c65

Browse files
test: refactor sleep_time as a param
Co-authored-by: PastaPastaPasta <[email protected]>
1 parent 2903c11 commit 2024c65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/functional/feature_llmq_chainlocks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ def set_test_params(self):
2323
self.set_dash_test_params(5, 4)
2424
self.delay_v20_and_mn_rr(height=200)
2525

26-
def sleep_and_assert_no_cl(self, block_hash):
27-
time.sleep(5)
26+
def sleep_and_assert_no_cl(self, block_hash, sleep_time=5):
27+
time.sleep(sleep_time)
2828

2929
for node in self.nodes:
3030
self.log.info(f"Expecting no ChainLock for {block_hash}")

0 commit comments

Comments
 (0)