Skip to content

Commit 2069945

Browse files
authored
Merge pull request #326 from Labelbox/DIAG-712
Diag 712
2 parents cac05ba + 86cd19c commit 2069945

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/integration/annotation_import/test_mea_prediction_import.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ def test_create_from_url(model_run_with_model_run_data_rows,
1919
assert annotation_import.model_run_id == model_run_with_model_run_data_rows.uid
2020
annotation_import_test_helpers.check_running_state(annotation_import, name,
2121
url)
22+
annotation_import.wait_until_done()
2223

2324

2425
def test_create_from_objects(model_run_with_model_run_data_rows,
@@ -33,6 +34,7 @@ def test_create_from_objects(model_run_with_model_run_data_rows,
3334
annotation_import_test_helpers.check_running_state(annotation_import, name)
3435
annotation_import_test_helpers.assert_file_content(
3536
annotation_import.input_file_url, object_predictions)
37+
annotation_import.wait_until_done()
3638

3739

3840
def test_create_from_local_file(tmp_path, model_run_with_model_run_data_rows,
@@ -51,6 +53,7 @@ def test_create_from_local_file(tmp_path, model_run_with_model_run_data_rows,
5153
annotation_import_test_helpers.check_running_state(annotation_import, name)
5254
annotation_import_test_helpers.assert_file_content(
5355
annotation_import.input_file_url, object_predictions)
56+
annotation_import.wait_until_done()
5457

5558

5659
def test_get(client, model_run_with_model_run_data_rows,
@@ -66,6 +69,7 @@ def test_get(client, model_run_with_model_run_data_rows,
6669
assert annotation_import.model_run_id == model_run_with_model_run_data_rows.uid
6770
annotation_import_test_helpers.check_running_state(annotation_import, name,
6871
url)
72+
annotation_import.wait_until_done()
6973

7074

7175
@pytest.mark.slow

0 commit comments

Comments
 (0)