Skip to content

Commit 5727f10

Browse files
committed
Merge branch 'dev' into proj/enhanced-interfaces
2 parents c8fa2d5 + c449113 commit 5727f10

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

test/integration/models/linode/test_linode.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ def test_linode_resize(create_linode_for_long_running_tests):
364364
assert linode.status == "running"
365365

366366

367+
@pytest.mark.flaky(reruns=3, reruns_delay=2)
367368
def test_linode_resize_with_class(
368369
test_linode_client, create_linode_for_long_running_tests
369370
):

test/integration/models/object_storage/test_obj.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import time
2-
from test.integration.conftest import get_region
2+
from test.integration.helpers import send_request_when_resource_available
33

44
import pytest
55

@@ -18,7 +18,7 @@
1818

1919
@pytest.fixture(scope="session")
2020
def region(test_linode_client: LinodeClient):
21-
return get_region(test_linode_client, {"Object Storage"}).id
21+
return "us-southeast" # uncomment get_region(test_linode_client, {"Object Storage"}).id
2222

2323

2424
@pytest.fixture(scope="session")
@@ -38,7 +38,7 @@ def bucket(
3838
)
3939

4040
yield bucket
41-
bucket.delete()
41+
send_request_when_resource_available(timeout=100, func=bucket.delete)
4242

4343

4444
@pytest.fixture(scope="session")
@@ -63,7 +63,8 @@ def bucket_with_endpoint(
6363
)
6464

6565
yield bucket
66-
bucket.delete()
66+
67+
send_request_when_resource_available(timeout=100, func=bucket.delete)
6768

6869

6970
@pytest.fixture(scope="session")

0 commit comments

Comments
 (0)