Skip to content

Commit

Permalink
first attempt to add sleep to load_hca to see if the e2e issue is tim…
Browse files Browse the repository at this point in the history
…e sensitive.
  • Loading branch information
bahill committed Apr 1, 2024
1 parent 2d0b777 commit a6dd141
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions orchestration/hca_orchestration/tests/e2e/test_load_hca.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import pytest
import time
from dagster import execute_pipeline

from hca_orchestration.repositories.local_repository import load_hca_job
Expand All @@ -13,6 +14,8 @@ def test_load_hca(load_hca_run_config, dataset_name, tdr_bigquery_client, datase
run_config=load_hca_run_config
)

time.sleep(600) # pausing execution to allow for permissions to propagate

bq_project = dataset_info.dataset_data_project_id
assert_metadata_loaded("analysis_file", dataset_name, bq_project, tdr_bigquery_client)
assert_metadata_loaded("analysis_protocol", dataset_name, bq_project, tdr_bigquery_client)
Expand Down

0 comments on commit a6dd141

Please sign in to comment.