Skip to content

Commit

Permalink
Merge pull request #2823 from IntersectMBO/fix_not_avail_metadata_test
Browse files Browse the repository at this point in the history
fix: fix metadata unavail test
  • Loading branch information
mkoura authored Dec 7, 2024
2 parents 639cc99 + db46adb commit 77e46fc
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions cardano_node_tests/tests/test_pools.py
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,6 @@ def _query_func():
dbsync_utils.retry_query(query_func=_query_func, timeout=300)

@allure.link(helpers.get_vcs_link())
@common.PARAM_USE_BUILD_CMD
@pytest.mark.testnets
@pytest.mark.smoke
@pytest.mark.dbsync
Expand All @@ -708,7 +707,6 @@ def test_stake_pool_not_avail_metadata(
cluster_manager: cluster_management.ClusterManager,
cluster: clusterlib.ClusterLib,
request: FixtureRequest,
use_build_cmd: bool,
):
"""Create and register a stake pool with metadata file not available.
Expand All @@ -724,12 +722,10 @@ def test_stake_pool_not_avail_metadata(
"ticker": "QA1",
"homepage": "www.test1.com",
}
pool_metadata_file = pl.Path(
helpers.write_json(
out_file=f"{pool_name}_registration_metadata.json", content=pool_metadata
)
pool_metadata_file = helpers.write_json(
out_file=f"{pool_name}_registration_metadata.json", content=pool_metadata
)
pool_metadata_url = web.publish(file_path=pool_metadata_file)
pool_metadata_url = "https://www.where_metadata_file_is_located.com"

pool_data = clusterlib.PoolData(
pool_name=pool_name,
Expand Down Expand Up @@ -763,7 +759,7 @@ def test_stake_pool_not_avail_metadata(
temp_dir=pl.Path(),
pool_data=pool_data,
request=request,
use_build_cmd=use_build_cmd,
use_build_cmd=False,
)

# Check dbsync `PoolOffChainFetchError` table
Expand Down

0 comments on commit 77e46fc

Please sign in to comment.