Skip to content

Commit

Permalink
let the mock api sleep in
Browse files Browse the repository at this point in the history
  • Loading branch information
renae-r committed Jun 27, 2024
1 parent 0368189 commit 31e2177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def mock_api() -> str:
p = subprocess.Popen(
["uvicorn", "tests.mock_api:app", "--host", "127.0.0.1", "--port", "8989"]
)
time.sleep(1) # Give it enough time to warm up
time.sleep(3) # Give it enough time to warm up
try:
yield "http://127.0.0.1:8989"
finally:
Expand Down

0 comments on commit 31e2177

Please sign in to comment.