diff --git a/cardano_node_tests/tests/tests_conway/test_committee.py b/cardano_node_tests/tests/tests_conway/test_committee.py index cddfebdb6..e0eef128e 100644 --- a/cardano_node_tests/tests/tests_conway/test_committee.py +++ b/cardano_node_tests/tests/tests_conway/test_committee.py @@ -408,10 +408,13 @@ def _auth_hot_keys() -> None: ) exc_value = str(excinfo.value) with common.allow_unstable_error_messages(): - assert re.search( - "ConwayMempoolFailure .*Unelected committee members are not " - "allowed to cast votes:", - exc_value, + assert ( + "UnelectedCommitteeVoters" in exc_value # In protocol version >= 11 + or re.search( + "ConwayMempoolFailure .*Unelected committee members are not " + "allowed to cast votes:", + exc_value, + ) ), exc_value subtest_errors.pop()