Skip to content

Commit 77e46fc

Browse files
authored
Merge pull request #2823 from IntersectMBO/fix_not_avail_metadata_test
fix: fix metadata unavail test
2 parents 639cc99 + db46adb commit 77e46fc

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

cardano_node_tests/tests/test_pools.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,6 @@ def _query_func():
699699
dbsync_utils.retry_query(query_func=_query_func, timeout=300)
700700

701701
@allure.link(helpers.get_vcs_link())
702-
@common.PARAM_USE_BUILD_CMD
703702
@pytest.mark.testnets
704703
@pytest.mark.smoke
705704
@pytest.mark.dbsync
@@ -708,7 +707,6 @@ def test_stake_pool_not_avail_metadata(
708707
cluster_manager: cluster_management.ClusterManager,
709708
cluster: clusterlib.ClusterLib,
710709
request: FixtureRequest,
711-
use_build_cmd: bool,
712710
):
713711
"""Create and register a stake pool with metadata file not available.
714712
@@ -724,12 +722,10 @@ def test_stake_pool_not_avail_metadata(
724722
"ticker": "QA1",
725723
"homepage": "www.test1.com",
726724
}
727-
pool_metadata_file = pl.Path(
728-
helpers.write_json(
729-
out_file=f"{pool_name}_registration_metadata.json", content=pool_metadata
730-
)
725+
pool_metadata_file = helpers.write_json(
726+
out_file=f"{pool_name}_registration_metadata.json", content=pool_metadata
731727
)
732-
pool_metadata_url = web.publish(file_path=pool_metadata_file)
728+
pool_metadata_url = "https://www.where_metadata_file_is_located.com"
733729

734730
pool_data = clusterlib.PoolData(
735731
pool_name=pool_name,
@@ -763,7 +759,7 @@ def test_stake_pool_not_avail_metadata(
763759
temp_dir=pl.Path(),
764760
pool_data=pool_data,
765761
request=request,
766-
use_build_cmd=use_build_cmd,
762+
use_build_cmd=False,
767763
)
768764

769765
# Check dbsync `PoolOffChainFetchError` table

0 commit comments

Comments
 (0)