Skip to content

Commit 61bf984

Browse files
committed
fix: bump mocktime 10 minutes for feature_llmq_simplepose to increase stability of test
1 parent ee186bd commit 61bf984

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/functional/feature_llmq_simplepose.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def force_old_mn_proto(self, mn):
9393
return False, True
9494

9595
def test_no_banning(self, expected_connections=None):
96+
self.bump_mocktime(10 * 60 + 1)
9697
for i in range(3):
9798
self.log.info(f"Testing no PoSe banning in normal conditions {i + 1}/3")
9899
self.mine_quorum(expected_connections=expected_connections)
@@ -163,6 +164,7 @@ def test_banning(self, invalidate_proc, expected_connections=None):
163164
mninfos_online = self.mninfo.copy()
164165
mninfos_valid = self.mninfo.copy()
165166
expected_contributors = len(mninfos_online)
167+
self.bump_mocktime(10 * 60 + 1)
166168
for i in range(2):
167169
self.log.info(f"Testing PoSe banning due to {invalidate_proc.__name__} {i + 1}/2")
168170
mn = mninfos_valid.pop()

0 commit comments

Comments
 (0)