fix: check mn state after each mined quorum

This commit is contained in:
UdjinM6 2024-09-25 16:18:29 +03:00
parent cce87a662a
commit fd2fbe06a3
No known key found for this signature in database
GPG Key ID: 83592BD1400D58D9

View File

@ -93,8 +93,8 @@ class LLMQSimplePoSeTest(DashTestFramework):
def test_no_banning(self, expected_connections=None): def test_no_banning(self, expected_connections=None):
for _ in range(3): for _ in range(3):
self.mine_quorum(expected_connections=expected_connections) self.mine_quorum(expected_connections=expected_connections)
for mn in self.mninfo: for mn in self.mninfo:
assert not self.check_punished(mn) and not self.check_banned(mn) assert not self.check_punished(mn) and not self.check_banned(mn)
def mine_quorum_less_checks(self, expected_good_nodes, mninfos_online): def mine_quorum_less_checks(self, expected_good_nodes, mninfos_online):
# Unlike in mine_quorum we skip most of the checks and only care about # Unlike in mine_quorum we skip most of the checks and only care about