Skip to content

Commit

Permalink
increased server start up time
Browse files Browse the repository at this point in the history
  • Loading branch information
craigpfeifer committed Dec 15, 2024
1 parent 3910794 commit edb8148
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def run_server():
try:
print (f"Running command {run_command}")
process = subprocess.Popen(run_command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
stdout, stderr = process.communicate(timeout=60)
stdout, stderr = process.communicate(timeout=90)
print (f"stdout : {stdout}")
print(f"stderr : {stderr}")
except subprocess.TimeoutExpired as te:
Expand All @@ -200,7 +200,7 @@ def run_server():
server_thread.start()

# Allow time to initialize and start serving
time.sleep(60)
time.sleep(30)

try:
response = requests.get("http://127.0.0.1:8000")
Expand Down

0 comments on commit edb8148

Please sign in to comment.