Skip to content

Commit

Permalink
fix - for endpoint output
Browse files Browse the repository at this point in the history
  • Loading branch information
cblmemo committed Jan 17, 2025
1 parent 69d3739 commit 3a472fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/smoke_tests/test_sky_serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def _get_service_name() -> str:
_SERVE_ENDPOINT_WAIT = (
'export ORIGIN_SKYPILOT_DEBUG=$SKYPILOT_DEBUG; export SKYPILOT_DEBUG=0; '
'endpoint=$(sky serve status --endpoint {name}); '
'until ! echo "$endpoint" | grep "Controller is initializing"; '
'until ! echo "$endpoint" | grep -qE "Controller is initializing|^-$"; '
'do echo "Waiting for serve endpoint to be ready..."; '
'sleep 5; endpoint=$(sky serve status --endpoint {name}); done; '
'export SKYPILOT_DEBUG=$ORIGIN_SKYPILOT_DEBUG; echo "$endpoint"')
Expand Down

0 comments on commit 3a472fc

Please sign in to comment.