Skip to content

Commit

Permalink
query protocol-state is still broken
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoura committed Jun 25, 2022
1 parent 681560d commit 218dc39
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion cardano_node_tests/tests/test_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,18 @@ class TestProtocol:
def test_protocol_state_keys(self, cluster: clusterlib.ClusterLib):
"""Check output of `query protocol-state`."""
common.get_test_id(cluster)
protocol_state = cluster.get_protocol_state()

# TODO: the query is currently broken
query_currently_broken = False
try:
protocol_state = cluster.get_protocol_state()
except clusterlib.CLIError as err:
if "currentlyBroken" not in str(err):
raise
query_currently_broken = True
if query_currently_broken:
pytest.xfail("`query protocol-state` is currently broken - cardano-node issue #3883")

assert tuple(sorted(protocol_state)) == PROTOCOL_STATE_KEYS

@allure.link(helpers.get_vcs_link())
Expand Down

0 comments on commit 218dc39

Please sign in to comment.