File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -364,6 +364,7 @@ def test_linode_resize(create_linode_for_long_running_tests):
364
364
assert linode .status == "running"
365
365
366
366
367
+ @pytest .mark .flaky (reruns = 3 , reruns_delay = 2 )
367
368
def test_linode_resize_with_class (
368
369
test_linode_client , create_linode_for_long_running_tests
369
370
):
Original file line number Diff line number Diff line change 1
1
import time
2
2
from test .integration .conftest import get_region
3
+ from test .integration .helpers import send_request_when_resource_available
3
4
4
5
import pytest
5
6
@@ -38,7 +39,7 @@ def bucket(
38
39
)
39
40
40
41
yield bucket
41
- bucket .delete ( )
42
+ send_request_when_resource_available ( timeout = 100 , func = bucket .delete )
42
43
43
44
44
45
@pytest .fixture (scope = "session" )
@@ -63,7 +64,8 @@ def bucket_with_endpoint(
63
64
)
64
65
65
66
yield bucket
66
- bucket .delete ()
67
+
68
+ send_request_when_resource_available (timeout = 100 , func = bucket .delete )
67
69
68
70
69
71
@pytest .fixture (scope = "session" )
You can’t perform that action at this time.
0 commit comments