@@ -19,6 +19,7 @@ def test_create_from_url(model_run_with_model_run_data_rows,
19
19
assert annotation_import .model_run_id == model_run_with_model_run_data_rows .uid
20
20
annotation_import_test_helpers .check_running_state (annotation_import , name ,
21
21
url )
22
+ annotation_import .wait_until_done ()
22
23
23
24
24
25
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,
33
34
annotation_import_test_helpers .check_running_state (annotation_import , name )
34
35
annotation_import_test_helpers .assert_file_content (
35
36
annotation_import .input_file_url , object_predictions )
37
+ annotation_import .wait_until_done ()
36
38
37
39
38
40
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,
51
53
annotation_import_test_helpers .check_running_state (annotation_import , name )
52
54
annotation_import_test_helpers .assert_file_content (
53
55
annotation_import .input_file_url , object_predictions )
56
+ annotation_import .wait_until_done ()
54
57
55
58
56
59
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,
66
69
assert annotation_import .model_run_id == model_run_with_model_run_data_rows .uid
67
70
annotation_import_test_helpers .check_running_state (annotation_import , name ,
68
71
url )
72
+ annotation_import .wait_until_done ()
69
73
70
74
71
75
@pytest .mark .slow
0 commit comments