Skip to content

Commit

Permalink
add explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
rodja committed Aug 21, 2023
1 parent 2b7d792 commit a2a6eb7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def create_project():
test_helper.LiveServerSession().delete(f"/zauberzeug/projects/pytest?keep_images=true")
project_configuration = {'project_name': 'pytest', 'inbox': 1, 'annotate': 2, 'review': 3, 'complete': 4, 'image_style': 'plain',
'box_categories': 1, 'point_categories': 1, 'segmentation_categories': 1, 'thumbs': False, 'trainings': 1}
for _ in range(10):
for _ in range(10): # NOTE this retry seems to fix huge flakyness in test runs on drone (local it's fine without)
test_helper.LiveServerSession().get("/status")
response = test_helper.LiveServerSession().post(f"/zauberzeug/projects/generator", json=project_configuration)
if response.status_code == 200:
Expand Down

0 comments on commit a2a6eb7

Please sign in to comment.