fix e2e tests: start weather_forecast agent natively instead of docker

This commit is contained in:
Adil Hafeez 2026-03-09 18:06:23 +00:00
parent 1285bd083d
commit e336150c38
2 changed files with 10 additions and 12 deletions

View file

@ -21,10 +21,11 @@ trap 'print_debug' INT TERM ERR
log starting > ../build.log
log building and running function_calling demo
log starting weather_forecast agent natively
log ===========================================
cd ../../demos/getting_started/weather_forecast/
docker compose up weather_forecast_service --build -d
bash start_agents.sh &
AGENTS_PID=$!
cd -
log building and installing plano cli
@ -78,8 +79,6 @@ log running e2e tests for openai responses api client
log ========================================
uv run pytest test_openai_responses_api_client_with_state.py
log shutting down the weather_forecast demo
log shutting down the weather_forecast agent
log =======================================
cd ../../demos/getting_started/weather_forecast
docker compose down
cd -
kill $AGENTS_PID 2>/dev/null || true

View file

@ -32,10 +32,11 @@ cd -
# Re-sync e2e deps
uv sync
# Start weather_forecast service (needed for prompt_gateway tests)
log "building and running weather_forecast service"
# Start weather_forecast service natively (needed for prompt_gateway tests)
log "starting weather_forecast agent natively"
cd ../../demos/getting_started/weather_forecast/
docker compose up weather_forecast_service --build -d
bash start_agents.sh &
AGENTS_PID=$!
cd -
# Start gateway with prompt_gateway config
@ -52,6 +53,4 @@ uv run pytest test_prompt_gateway.py
# Cleanup
log "shutting down"
planoai down --docker || true
cd ../../demos/getting_started/weather_forecast
docker compose down
cd -
kill $AGENTS_PID 2>/dev/null || true