Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/integration/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def send_request_when_resource_available(
timeout: int, func: Callable, *args, **kwargs
) -> object:
start_time = time.time()
retry_statuses = {400, 500}
retry_statuses = {400, 500, 503}

while True:
try:
Expand Down
4 changes: 0 additions & 4 deletions test/integration/models/vpc/test_vpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ def test_fails_create_vpc_invalid_data(test_linode_client):
description="test description",
)
assert excinfo.value.status == 400
assert "Label must include only ASCII" in str(excinfo.value.json)


def test_get_all_vpcs(test_linode_client, create_multiple_vpcs):
Expand All @@ -78,7 +77,6 @@ def test_fails_update_vpc_invalid_data(create_vpc):
vpc.save()

assert excinfo.value.status == 400
assert "Label must include only ASCII" in str(excinfo.value.json)


def test_fails_create_subnet_invalid_data(create_vpc):
Expand All @@ -88,7 +86,6 @@ def test_fails_create_subnet_invalid_data(create_vpc):
create_vpc.subnet_create("test-subnet", ipv4=invalid_ipv4)

assert excinfo.value.status == 400
assert "ipv4 must be an IPv4 network" in str(excinfo.value.json)


def test_fails_update_subnet_invalid_data(create_vpc_with_subnet):
Expand All @@ -100,4 +97,3 @@ def test_fails_update_subnet_invalid_data(create_vpc_with_subnet):
subnet.save()

assert excinfo.value.status == 400
assert "Label must include only ASCII" in str(excinfo.value.json)