Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

chore: bump wait_for_server from 30 to 60 seconds (#8435)

Kian Jonese60e8ed670fb
diff --git a/.github/scripts/model-sweep/conftest.py b/.github/scripts/model-sweep/conftest.py
index 2197eac0d..146bf058e 100644
--- a/.github/scripts/model-sweep/conftest.py
+++ b/.github/scripts/model-sweep/conftest.py
@@ -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:
diff --git a/tests/conftest.py b/tests/conftest.py
index 470bc01a2..fada6cb43 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -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:
diff --git a/tests/integration_test_async_tool_sandbox.py b/tests/integration_test_async_tool_sandbox.py
index 5b6b872ec..de690f129 100644
--- a/tests/integration_test_async_tool_sandbox.py
+++ b/tests/integration_test_async_tool_sandbox.py
@@ -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:
diff --git a/tests/integration_test_builtin_tools.py b/tests/integration_test_builtin_tools.py
index 4ddb1c32d..9460b8a63 100644
--- a/tests/integration_test_builtin_tools.py
+++ b/tests/integration_test_builtin_tools.py
@@ -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:
diff --git a/tests/integration_test_cancellation.py b/tests/integration_test_cancellation.py
index c6791612b..57f34e2df 100644
--- a/tests/integration_test_cancellation.py
+++ b/tests/integration_test_cancellation.py
@@ -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
diff --git a/tests/integration_test_mcp.py b/tests/integration_test_mcp.py
index bb7811d5b..7ac138d4f 100644
--- a/tests/integration_test_mcp.py
+++ b/tests/integration_test_mcp.py
@@ -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:
diff --git a/tests/integration_test_multi_agent.py b/tests/integration_test_multi_agent.py
index fcf180caa..f4aec50f0 100644
--- a/tests/integration_test_multi_agent.py
+++ b/tests/integration_test_multi_agent.py
@@ -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:
diff --git a/tests/integration_test_send_message.py b/tests/integration_test_send_message.py
index b7f55a7db..53df36b00 100644
--- a/tests/integration_test_send_message.py
+++ b/tests/integration_test_send_message.py
@@ -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:
diff --git a/tests/integration_test_send_message_v2.py b/tests/integration_test_send_message_v2.py
index 249ecaf08..08d2785d0 100644
--- a/tests/integration_test_send_message_v2.py
+++ b/tests/integration_test_send_message_v2.py
@@ -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:
diff --git a/tests/integration_test_sleeptime_agent.py b/tests/integration_test_sleeptime_agent.py
index 21291df68..dce649f71 100644
--- a/tests/integration_test_sleeptime_agent.py
+++ b/tests/integration_test_sleeptime_agent.py
@@ -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:
diff --git a/tests/sdk/conftest.py b/tests/sdk/conftest.py
index 6fadeead1..8fbfbb1f6 100644
--- a/tests/sdk/conftest.py
+++ b/tests/sdk/conftest.py
@@ -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:
diff --git a/tests/sdk/mcp_servers_test.py b/tests/sdk/mcp_servers_test.py
index c8b7d1871..4fc0a816d 100644
--- a/tests/sdk/mcp_servers_test.py
+++ b/tests/sdk/mcp_servers_test.py
@@ -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:
diff --git a/tests/test_agent_serialization.py b/tests/test_agent_serialization.py
index 12235b778..5213076fd 100644
--- a/tests/test_agent_serialization.py
+++ b/tests/test_agent_serialization.py
@@ -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:
diff --git a/tests/test_long_running_agents.py b/tests/test_long_running_agents.py
index 259144c15..aaabbf47e 100644
--- a/tests/test_long_running_agents.py
+++ b/tests/test_long_running_agents.py
@@ -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: