From f8f51c33cbad66f88ffd1f04bddce0adf9c753f6 Mon Sep 17 00:00:00 2001 From: Konstantin Akimov Date: Thu, 21 Nov 2024 22:22:38 +0700 Subject: [PATCH] fix: bump mocktime 10 minutes for feature_llmq_simplepose to increase stability of test --- test/functional/feature_llmq_simplepose.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/functional/feature_llmq_simplepose.py b/test/functional/feature_llmq_simplepose.py index 3d5c382249d86..d0722a1c2d368 100755 --- a/test/functional/feature_llmq_simplepose.py +++ b/test/functional/feature_llmq_simplepose.py @@ -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) @@ -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()