chore: bump wait_for_server from 30 to 60 seconds (#8435)
bump 30 to 60 seconds
This commit is contained in:
2
.github/scripts/model-sweep/conftest.py
vendored
2
.github/scripts/model-sweep/conftest.py
vendored
@@ -184,7 +184,7 @@ def _start_server_once() -> str:
|
||||
thread.start()
|
||||
|
||||
# Poll until up
|
||||
timeout_seconds = 30
|
||||
timeout_seconds = 60
|
||||
deadline = time.time() + timeout_seconds
|
||||
while time.time() < deadline:
|
||||
try:
|
||||
|
||||
@@ -42,7 +42,7 @@ def server_url() -> str:
|
||||
thread.start()
|
||||
|
||||
# Poll until the server is up (or timeout)
|
||||
timeout_seconds = 30
|
||||
timeout_seconds = 60
|
||||
deadline = time.time() + timeout_seconds
|
||||
while time.time() < deadline:
|
||||
try:
|
||||
|
||||
@@ -87,7 +87,7 @@ def server_url() -> str:
|
||||
thread.start()
|
||||
|
||||
# Poll until the server is up (or timeout)
|
||||
timeout_seconds = 30
|
||||
timeout_seconds = 60
|
||||
deadline = time.time() + timeout_seconds
|
||||
while time.time() < deadline:
|
||||
try:
|
||||
|
||||
@@ -41,7 +41,7 @@ def server_url() -> str:
|
||||
thread.start()
|
||||
|
||||
# Poll until the server is up (or timeout)
|
||||
timeout_seconds = 30
|
||||
timeout_seconds = 60
|
||||
deadline = time.time() + timeout_seconds
|
||||
while time.time() < deadline:
|
||||
try:
|
||||
|
||||
@@ -107,7 +107,7 @@ def server_url() -> str:
|
||||
thread = threading.Thread(target=_run_server, daemon=True)
|
||||
thread.start()
|
||||
|
||||
timeout_seconds = 30
|
||||
timeout_seconds = 60
|
||||
import time
|
||||
|
||||
import httpx
|
||||
|
||||
@@ -45,7 +45,7 @@ def server_url() -> str:
|
||||
thread.start()
|
||||
|
||||
# Poll until the server is up (or timeout)
|
||||
timeout_seconds = 30
|
||||
timeout_seconds = 60
|
||||
deadline = time.time() + timeout_seconds
|
||||
while time.time() < deadline:
|
||||
try:
|
||||
|
||||
@@ -35,7 +35,7 @@ def server_url() -> str:
|
||||
thread.start()
|
||||
|
||||
# Poll until the server is up (or timeout)
|
||||
timeout_seconds = 30
|
||||
timeout_seconds = 60
|
||||
deadline = time.time() + timeout_seconds
|
||||
while time.time() < deadline:
|
||||
try:
|
||||
|
||||
@@ -1017,7 +1017,7 @@ def server_url() -> str:
|
||||
thread.start()
|
||||
|
||||
# Poll until the server is up (or timeout)
|
||||
timeout_seconds = 30
|
||||
timeout_seconds = 60
|
||||
deadline = time.time() + timeout_seconds
|
||||
while time.time() < deadline:
|
||||
try:
|
||||
|
||||
@@ -514,7 +514,7 @@ def server_url() -> str:
|
||||
thread.start()
|
||||
|
||||
# Poll until the server is up (or timeout)
|
||||
timeout_seconds = 30
|
||||
timeout_seconds = 60
|
||||
deadline = time.time() + timeout_seconds
|
||||
while time.time() < deadline:
|
||||
try:
|
||||
|
||||
@@ -33,7 +33,7 @@ def server_url() -> str:
|
||||
thread.start()
|
||||
|
||||
# Poll until the server is up (or timeout)
|
||||
timeout_seconds = 30
|
||||
timeout_seconds = 60
|
||||
deadline = time.time() + timeout_seconds
|
||||
while time.time() < deadline:
|
||||
try:
|
||||
|
||||
@@ -30,7 +30,7 @@ def server_url() -> str:
|
||||
thread.start()
|
||||
|
||||
# Poll until the server is up (or timeout)
|
||||
timeout_seconds = 30
|
||||
timeout_seconds = 60
|
||||
deadline = time.time() + timeout_seconds
|
||||
while time.time() < deadline:
|
||||
try:
|
||||
|
||||
@@ -48,7 +48,7 @@ def server_url() -> str:
|
||||
thread.start()
|
||||
|
||||
# Poll until the server is up (or timeout)
|
||||
timeout_seconds = 30
|
||||
timeout_seconds = 60
|
||||
deadline = time.time() + timeout_seconds
|
||||
while time.time() < deadline:
|
||||
try:
|
||||
|
||||
@@ -56,7 +56,7 @@ def server_url() -> str:
|
||||
thread.start()
|
||||
|
||||
# Poll until the server is up (or timeout)
|
||||
timeout_seconds = 30
|
||||
timeout_seconds = 60
|
||||
deadline = time.time() + timeout_seconds
|
||||
while time.time() < deadline:
|
||||
try:
|
||||
|
||||
@@ -39,7 +39,7 @@ def server_url() -> str:
|
||||
thread.start()
|
||||
|
||||
# Poll until the server is up (or timeout)
|
||||
timeout_seconds = 30
|
||||
timeout_seconds = 60
|
||||
deadline = time.time() + timeout_seconds
|
||||
while time.time() < deadline:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user