Skip to content

Commit

Permalink
Merge pull request #1831 from input-output-hk/blocker_3788
Browse files Browse the repository at this point in the history
Add blocker for node issue 3788
  • Loading branch information
mkoura committed May 23, 2023
2 parents 889447b + e6ebfd5 commit 5570265
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions cardano_node_tests/tests/test_kes.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from cardano_node_tests.cluster_management import cluster_management
from cardano_node_tests.tests import common
from cardano_node_tests.tests import kes
from cardano_node_tests.utils import blockers
from cardano_node_tests.utils import cluster_nodes
from cardano_node_tests.utils import clusterlib_utils
from cardano_node_tests.utils import configuration
Expand Down Expand Up @@ -568,10 +569,7 @@ def test_opcert_invalid_kes_period(
if (
"forked blockchain" in str(exc)
and VERSIONS.transaction_era >= VERSIONS.ALONZO
and (
configuration.ENABLE_P2P # on Babbage
or configuration.SCRIPTS_DIRNAME == "alonzo_p2p" # on Alonzo
)
and configuration.ENABLE_P2P
):
pytest.xfail(str(exc))
raise
Expand Down Expand Up @@ -739,10 +737,7 @@ def test_update_valid_opcert(
if (
"forked blockchain" in str(exc)
and VERSIONS.transaction_era >= VERSIONS.ALONZO
and (
configuration.ENABLE_P2P # on Babbage
or configuration.SCRIPTS_DIRNAME == "alonzo_p2p" # on Alonzo
)
and configuration.ENABLE_P2P
):
pytest.xfail(str(exc))
raise
Expand Down Expand Up @@ -860,7 +855,8 @@ def test_negative_kes_period_arg(
if "KES_PERIOD must not be less than 0" not in str(exc):
raise
else:
pytest.xfail(
"Possible to create a op cert with a negative value for kes-period - "
"see node issue #3788"
)
blockers.GH(
issue=3788,
fixed_in="8.0.0",
message="Possible to create an op cert with a negative value for kes-period",
).finish_test()

0 comments on commit 5570265

Please sign in to comment.