Skip to content

Commit 598bcc8

Browse files
committed
increased timeout for snapshot tests
1 parent 28d14e8 commit 598bcc8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/smoketests/sdk/test_async_devbox.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
THIRTY_SECOND_TIMEOUT = 30
1818
TWO_MINUTE_TIMEOUT = 120
19+
FOUR_MINUTE_TIMEOUT = 240
1920

2021

2122
@pytest.fixture(scope="module")
@@ -521,7 +522,7 @@ async def test_get_devbox_by_id(self, async_sdk_client: AsyncRunloopSDK) -> None
521522
class TestAsyncDevboxSnapshots:
522523
"""Test snapshot operations on async devboxes."""
523524

524-
@pytest.mark.timeout(TWO_MINUTE_TIMEOUT)
525+
@pytest.mark.timeout(FOUR_MINUTE_TIMEOUT)
525526
async def test_snapshot_disk(self, async_sdk_client: AsyncRunloopSDK) -> None:
526527
"""Test creating a snapshot from devbox (synchronous wait)."""
527528
devbox = await async_sdk_client.devbox.create(

tests/smoketests/sdk/test_devbox.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
THIRTY_SECOND_TIMEOUT = 30
1818
TWO_MINUTE_TIMEOUT = 120
19+
FOUR_MINUTE_TIMEOUT = 240
1920

2021

2122
@pytest.fixture(scope="module")
@@ -522,7 +523,7 @@ def test_get_devbox_by_id(self, sdk_client: RunloopSDK) -> None:
522523
class TestDevboxSnapshots:
523524
"""Test snapshot operations on devboxes."""
524525

525-
@pytest.mark.timeout(TWO_MINUTE_TIMEOUT)
526+
@pytest.mark.timeout(FOUR_MINUTE_TIMEOUT)
526527
def test_snapshot_disk(self, sdk_client: RunloopSDK) -> None:
527528
"""Test creating a snapshot from devbox (synchronous)."""
528529
devbox = sdk_client.devbox.create(

0 commit comments

Comments
 (0)