Skip to content

Commit

Permalink
Fix service test
Browse files Browse the repository at this point in the history
  • Loading branch information
donnybeelo committed Aug 19, 2024
1 parent 4e9c5a5 commit 39567c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/test_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ def test_service_run() -> None:
ready = multiprocessing.Event()
run = multiprocessing.Process(target=ServiceAPI.run, kwargs={"serviceReady": ready})
run.start()
ready.wait(timeout=120)
ready.wait(timeout=300)
sleep(10)
response = httpx.get(app.url())
run.terminate()
status = Box(response.json())
assert status.softpack.core.version == __version__

0 comments on commit 39567c1

Please sign in to comment.