Skip to content

Commit

Permalink
syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelvll committed Apr 3, 2024
1 parent f63f5e9 commit 4260891
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -3594,15 +3594,15 @@ def test_skyserve_failures(generic_cloud: str):
'test-skyserve-failures',
[
f'sky serve up -n {name} --cloud {generic_cloud} -y tests/skyserve/failures/initial_delay.yaml',
f's=$(sky serve status {name})'
f's=$(sky serve status {name}); '
f'until ! echo "$s" | grep "FAILED_INITIAL_DELAY"; do '
'echo "Waiting for replica to be failed..."; sleep 5; '
's=$(sky serve status); echo "$s"; done;',
'sleep 60',
f'{_SERVE_STATUS_WAIT.format(name=name)}; echo "$s" | grep "{name}" | grep "FAILED_INITIAL_DELAY" | wc -l | grep 2',
f'sky ser ve update {name} --cloud {generic_cloud} -y tests/skyserve/failures/probing.yaml',
_SERVE_WAIT_UNTIL_READY.format(name=name, replica_num=1),
f's=$(sky serve status {name})'
f's=$(sky serve status {name}); '
f'until ! echo "$s" | grep "FAILED_PROBING"; do '
'echo "Waiting for replica to be failed..."; sleep 5; '
's=$(sky serve status); echo "$s"; done;' +
Expand Down

0 comments on commit 4260891

Please sign in to comment.