Skip to content

Commit b88fb1b

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/integration/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,10 @@ def configured_project_with_label(client, rand_gen, image_url, project, dataset,
256256
Tool(tool=Tool.Type.BBOX, name="test-bbox-class"),
257257
])
258258
project.setup(editor, ontology_builder.asdict())
259-
ontology = ontology_builder.from_project(project)
260259
#TODO: added to avoid index error. remove sleep when api is more consistent
261260
time.sleep(2)
261+
262+
ontology = ontology_builder.from_project(project)
262263
predictions = [{
263264
"uuid": str(uuid.uuid4()),
264265
"schemaId": ontology.tools[0].feature_schema_id,

0 commit comments

Comments
 (0)