Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/functional/docker/docker-compose.local.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/functional/docker/docker-compose.postgres.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions tests/functional/docker/wait-for-services.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ set -e

CONTROL_PLANE_URL="${AGENTFIELD_SERVER:-http://control-plane:8080}"
HEALTH_ENDPOINT="${CONTROL_PLANE_URL}/api/v1/health"
MAX_ATTEMPTS="${MAX_ATTEMPTS:-60}"
SLEEP_INTERVAL="${SLEEP_INTERVAL:-2}"
# Reduced from 60*2s=120s to 30*1s=30s - control plane typically starts in ~10-15s
MAX_ATTEMPTS="${MAX_ATTEMPTS:-30}"
SLEEP_INTERVAL="${SLEEP_INTERVAL:-1}"

echo "Waiting for AgentField control plane at ${CONTROL_PLANE_URL}..."

Expand Down
1 change: 1 addition & 0 deletions tests/functional/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
pytest>=7.4.0
pytest-asyncio>=0.21.0
pytest-timeout>=2.1.0
pytest-xdist>=3.5.0

# HTTP clients for testing
httpx>=0.24.0
Expand Down