Skip to content

Commit e535f29

Browse files
[Tests] Bump test_autostop sleep (skypilot-org#1638)
Bump sleep from 150 to 250
1 parent cb87681 commit e535f29

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_smoke.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ def test_autostop(generic_cloud: str):
942942
f's=$(sky status {name} --refresh); echo "$s"; echo; echo; echo "$s" | grep {name} | grep UP',
943943

944944
# Ensure the cluster is STOPPED.
945-
'sleep 150',
945+
'sleep 250',
946946
f's=$(sky status {name} --refresh); echo "$s"; echo; echo; echo "$s" | grep {name} | grep STOPPED',
947947

948948
# Ensure the cluster is UP and the autostop setting is reset ('-').
@@ -960,7 +960,7 @@ def test_autostop(generic_cloud: str):
960960
f'sky autostop -y {name} -i 1', # Should restart the timer.
961961
'sleep 45',
962962
f's=$(sky status {name} --refresh); echo "$s"; echo; echo; echo "$s" | grep {name} | grep UP',
963-
'sleep 150',
963+
'sleep 250',
964964
f's=$(sky status {name} --refresh); echo "$s"; echo; echo; echo "$s" | grep {name} | grep STOPPED',
965965

966966
# Test restarting the idleness timer via exec:
@@ -971,7 +971,7 @@ def test_autostop(generic_cloud: str):
971971
f'sky exec {name} echo hi', # Should restart the timer.
972972
'sleep 45',
973973
f's=$(sky status {name} --refresh); echo "$s"; echo; echo; echo "$s" | grep {name} | grep UP',
974-
'sleep 150',
974+
'sleep 250',
975975
f's=$(sky status {name} --refresh); echo "$s"; echo; echo; echo "$s" | grep {name} | grep STOPPED',
976976
],
977977
f'sky down -y {name}',

0 commit comments

Comments
 (0)