diff --git a/tests/conftest.py b/tests/conftest.py index 04777a2a6..7d70f365b 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -89,6 +89,6 @@ def chain_model(request) -> Chain: @pytest.fixture(scope="module") def subquery_projects(): - network_file_path = os.getenv('CHAINS_JSON_PATH', "chains/v20/chains.json") + network_file_path = os.getenv('CHAINS_JSON_PATH', "chains/v21/chains.json") network_list = get_network_list('/' + network_file_path) return get_unique_subquery_urls(network_list) diff --git a/tests/test_subquery_is_synced.py b/tests/test_subquery_is_synced.py index c8df9e5c7..f3086d28e 100644 --- a/tests/test_subquery_is_synced.py +++ b/tests/test_subquery_is_synced.py @@ -16,4 +16,4 @@ def test_subquery_is_synced(subquery_projects): if response.status_code == 200: last_processed_height = response.json().get('data').get('_metadata').get('lastProcessedHeight') target_height = response.json().get('data').get('_metadata').get('targetHeight') - assert abs(target_height - last_processed_height) < 10 + assert abs(target_height - last_processed_height) < 10, "Failed on: " + url