Skip to content

Commit dabebf6

Browse files
author
Matt Sokoloff
committed
tests
1 parent 797b178 commit dabebf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,6 @@ def configured_project(project, client, rand_gen):
277277

278278
@pytest.fixture
279279
def annotation_submit_fn(client):
280-
281280
def submit(project_id, data_row_id):
282281
feature_result = client.execute(
283282
"""query featuresPyApi ($project_id : ID!, $datarow_id: ID!
@@ -334,8 +333,9 @@ def configured_project_with_label(client, rand_gen, annotation_submit_fn):
334333
upload_task = MALPredictionImport.create_from_objects(
335334
client, project.uid, f'mal-import-{uuid.uuid4()}', predictions)
336335
upload_task.wait_until_done()
337-
time.sleep(1)
336+
time.sleep(2)
338337
annotation_submit_fn(project.uid, data_row.uid)
338+
time.sleep(2)
339339
yield project
340340
dataset.delete()
341341
project.delete()

0 commit comments

Comments
 (0)