Skip to content

Commit e59d472

Browse files
committed
extend test timeouts
1 parent ed3c492 commit e59d472

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

tests/smoketests/test_blueprints.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def _cleanup(client: Runloop) -> Iterator[None]: # pyright: ignore[reportUnused
3232
_blueprint_name = unique_name("bp")
3333

3434

35-
@pytest.mark.timeout(60)
35+
@pytest.mark.timeout(120) # 2 minutes
3636
def test_create_blueprint_and_await_build(client: Runloop) -> None:
3737
global _blueprint_id
3838
created = client.blueprints.create_and_await_build_complete(
@@ -43,7 +43,7 @@ def test_create_blueprint_and_await_build(client: Runloop) -> None:
4343
_blueprint_id = created.id
4444

4545

46-
@pytest.mark.timeout(60)
46+
@pytest.mark.timeout(120)
4747
def test_start_devbox_from_base_blueprint_by_id(client: Runloop) -> None:
4848
assert _blueprint_id
4949
devbox = None
@@ -59,7 +59,7 @@ def test_start_devbox_from_base_blueprint_by_id(client: Runloop) -> None:
5959
client.devboxes.shutdown(devbox.id)
6060

6161

62-
@pytest.mark.timeout(60)
62+
@pytest.mark.timeout(120)
6363
def test_start_devbox_from_base_blueprint_by_name(client: Runloop) -> None:
6464
devbox = None
6565
try:
@@ -74,7 +74,7 @@ def test_start_devbox_from_base_blueprint_by_name(client: Runloop) -> None:
7474
client.devboxes.shutdown(devbox.id)
7575

7676

77-
@pytest.mark.timeout(60)
77+
@pytest.mark.timeout(120)
7878
@pytest.mark.skipif(
7979
os.getenv("RUN_SMOKETESTS") != "1",
8080
reason="Skip blueprint secrets test in local testing (requires RUN_SMOKETESTS=1)",

tests/smoketests/test_devboxes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def test_create_devbox(client: Runloop) -> None:
3737
client.devboxes.shutdown(created.id)
3838

3939

40-
@pytest.mark.timeout(30)
40+
@pytest.mark.timeout(120)
4141
def test_await_running_create_and_await_running(client: Runloop) -> None:
4242
global _devbox_id
4343
created = client.devboxes.create_and_await_running(
@@ -67,7 +67,7 @@ def test_shutdown_devbox(client: Runloop) -> None:
6767
assert view.status == "shutdown"
6868

6969

70-
@pytest.mark.timeout(90)
70+
@pytest.mark.timeout(120)
7171
def test_create_and_await_running_long_set_up(client: Runloop) -> None:
7272
created = client.devboxes.create_and_await_running(
7373
name=unique_name("smoketest-devbox-await-running-long-set-up"),

tests/smoketests/test_snapshots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_snapshot_devbox(client: Runloop) -> None:
4545
_snapshot_id = snap.id
4646

4747

48-
@pytest.mark.timeout(30)
48+
@pytest.mark.timeout(120)
4949
def test_launch_devbox_from_snapshot(client: Runloop) -> None:
5050
assert _snapshot_id
5151
launched = None

0 commit comments

Comments
 (0)