Skip to content

Commit

Permalink
increased sleep time if on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Christina Bukas committed Jan 11, 2024
1 parent 06c2b7f commit 1d88e06
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/client/test/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ def test_run_inference_run(app):
"--port=7010",
]
process = subprocess.Popen(command)
time.sleep(60) # and wait until it is setup
# and wait until it is setup
if sys.platform == 'win32' or sys.platform == 'cygwin': time.sleep(120)
else: time.sleep(60)
# then do model serving
message_text, message_title = app.run_inference()
# and assert returning message
Expand All @@ -91,7 +93,6 @@ def test_search_segs(app):
# also remove the seg as it is not needed for other scripts
os.remove('eval_data_path/cat_seg.tiff')


'''
def test_run_train():
pass
Expand Down

0 comments on commit 1d88e06

Please sign in to comment.