We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
query protocol-state
1 parent db30518 commit 044f749Copy full SHA for 044f749
cardano_node_tests/tests/test_protocol.py
@@ -56,7 +56,18 @@ class TestProtocol:
56
def test_protocol_state_keys(self, cluster: clusterlib.ClusterLib):
57
"""Check output of `query protocol-state`."""
58
common.get_test_id(cluster)
59
- protocol_state = cluster.get_protocol_state()
+
60
+ # TODO: the query is currently broken
61
+ query_currently_broken = False
62
+ try:
63
+ protocol_state = cluster.get_protocol_state()
64
+ except clusterlib.CLIError as err:
65
+ if "currentlyBroken" not in str(err):
66
+ raise
67
+ query_currently_broken = True
68
+ if query_currently_broken:
69
+ pytest.xfail("`query protocol-state` is currently broken - cardano-node issue #3883")
70
71
assert tuple(sorted(protocol_state)) == PROTOCOL_STATE_KEYS
72
73
@allure.link(helpers.get_vcs_link())
0 commit comments