Skip to content

Commit

Permalink
fix: bump mocktime 10 minutes for feature_llmq_simplepose to increase…
Browse files Browse the repository at this point in the history
… stability of test
  • Loading branch information
knst committed Nov 22, 2024
1 parent 0b3ce03 commit cd2f39a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/functional/feature_llmq_simplepose.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def force_old_mn_proto(self, mn):
return False, True

def test_no_banning(self, expected_connections=None):
self.bump_mocktime(10 * 60 + 1)
for i in range(3):
self.log.info(f"Testing no PoSe banning in normal conditions {i + 1}/3")
self.mine_quorum(expected_connections=expected_connections)
Expand Down Expand Up @@ -163,6 +164,7 @@ def test_banning(self, invalidate_proc, expected_connections=None):
mninfos_online = self.mninfo.copy()
mninfos_valid = self.mninfo.copy()
expected_contributors = len(mninfos_online)
self.bump_mocktime(10 * 60 + 1)
for i in range(2):
self.log.info(f"Testing PoSe banning due to {invalidate_proc.__name__} {i + 1}/2")
mn = mninfos_valid.pop()
Expand Down

0 comments on commit cd2f39a

Please sign in to comment.