Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelvll committed Apr 29, 2024
1 parent 29e6baa commit 28358b2
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 @@ -2727,9 +2727,9 @@ def test_spot_tpu():
[
f'sky job launch -n {name} examples/tpu/tpuvm_mnist.yaml -y -d',
'sleep 5',
f'{_SPOT_QUEUE_WAIT}| grep {name} | head -n1 | grep STARTING',
f'{_JOB_QUEUE_WAIT}| grep {name} | head -n1 | grep STARTING',
'sleep 900', # TPU takes a while to launch
f'{_SPOT_QUEUE_WAIT}| grep {name} | head -n1 | grep "RUNNING\|SUCCEEDED"',
f'{_JOB_QUEUE_WAIT}| grep {name} | head -n1 | grep "RUNNING\|SUCCEEDED"',
],
_JOB_CANCEL_WAIT.format(job_name=name),
# Increase timeout since sky job queue -r can be blocked by other spot tests.
Expand Down

0 comments on commit 28358b2

Please sign in to comment.