Skip to content

Commit 7929ecf

Browse files
authored
Merge pull request IntersectMBO#1195 from mkoura/query_protocol_state_broken
`query protocol-state` is still broken
2 parents db30518 + 044f749 commit 7929ecf

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

cardano_node_tests/tests/test_protocol.py

+12-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,18 @@ class TestProtocol:
5656
def test_protocol_state_keys(self, cluster: clusterlib.ClusterLib):
5757
"""Check output of `query protocol-state`."""
5858
common.get_test_id(cluster)
59-
protocol_state = cluster.get_protocol_state()
59+
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+
6071
assert tuple(sorted(protocol_state)) == PROTOCOL_STATE_KEYS
6172

6273
@allure.link(helpers.get_vcs_link())

0 commit comments

Comments
 (0)