@@ -53,21 +53,22 @@ def test_shutdown_devbox() -> None:
5353 assert view .status == "shutdown"
5454
5555
56- @pytest .mark .timeout (30 )
56+ @pytest .mark .timeout (90 )
5757def test_create_and_await_running_long_set_up () -> None :
5858 created = client .devboxes .create_and_await_running (
5959 name = unique_name ("smoketest-devbox-await-running-long-set-up" ),
60- launch_parameters = {"launch_commands" : ["sleep 70" ], "keep_alive_time_seconds" : 30 },
60+ launch_parameters = {"launch_commands" : ["sleep 70" ]},
6161 polling_config = PollingConfig (interval_seconds = 5.0 , timeout_seconds = 80 ),
6262 )
6363 assert created .status == "running"
64+ client .devboxes .shutdown (created .id )
6465
6566
6667@pytest .mark .timeout (30 )
6768def test_create_and_await_running_timeout () -> None :
6869 with pytest .raises (PollingTimeout ):
6970 client .devboxes .create_and_await_running (
7071 name = unique_name ("smoketest-devbox-await-running-timeout" ),
71- launch_parameters = {"launch_commands" : ["sleep 70" ], "keep_alive_time_seconds" : 30 },
72+ launch_parameters = {"launch_commands" : ["sleep 70" ]},
7273 polling_config = PollingConfig (max_attempts = 1 , interval_seconds = 0.1 ),
7374 )
0 commit comments