File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 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):
364364 assert linode .status == "running"
365365
366366
367+ @pytest .mark .flaky (reruns = 3 , reruns_delay = 2 )
367368def test_linode_resize_with_class (
368369 test_linode_client , create_linode_for_long_running_tests
369370):
Original file line number Diff line number Diff line change 11import time
22from test .integration .conftest import get_region
3+ from test .integration .helpers import send_request_when_resource_available
34
45import pytest
56
@@ -38,7 +39,7 @@ def bucket(
3839 )
3940
4041 yield bucket
41- bucket .delete ( )
42+ send_request_when_resource_available ( timeout = 100 , func = bucket .delete )
4243
4344
4445@pytest .fixture (scope = "session" )
@@ -63,7 +64,8 @@ def bucket_with_endpoint(
6364 )
6465
6566 yield bucket
66- bucket .delete ()
67+
68+ send_request_when_resource_available (timeout = 100 , func = bucket .delete )
6769
6870
6971@pytest .fixture (scope = "session" )
You can’t perform that action at this time.
0 commit comments