Skip to content

Commit b2c7e13

Browse files
committed
add sleep time to reduce test failure
1 parent 790261c commit b2c7e13

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/integration/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,8 @@ def configured_project_with_label(client, rand_gen, image_url, project, dataset,
257257
])
258258
project.setup(editor, ontology_builder.asdict())
259259
ontology = ontology_builder.from_project(project)
260+
#TODO: added to avoid index error. remove sleep when api is more consistent
261+
time.sleep(2)
260262
predictions = [{
261263
"uuid": str(uuid.uuid4()),
262264
"schemaId": ontology.tools[0].feature_schema_id,

0 commit comments

Comments
 (0)