Skip to content

Commit

Permalink
Merge pull request #1195 from mkoura/query_protocol_state_broken
Browse files Browse the repository at this point in the history
`query protocol-state` is still broken
  • Loading branch information
mkoura authored Jun 25, 2022
2 parents 681560d + 218dc39 commit 213e84d
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 213e84d

Please sign in to comment.