Skip to content

Commit

Permalink
Updated debian version
Browse files Browse the repository at this point in the history
  • Loading branch information
ezilber-akamai committed Jan 13, 2025
1 parent acd8f49 commit 03c8f3b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/integration/models/linode/test_linode.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def linode_with_volume_firewall(test_linode_client):
linode_instance, password = client.linode.instance_create(
"g6-nanode-1",
region,
image="linode/debian10",
image="linode/debian12",
label=label + "_modlinode",
)

Expand Down Expand Up @@ -76,7 +76,7 @@ def linode_for_network_interface_tests(test_linode_client, e2e_test_firewall):
linode_instance, password = client.linode.instance_create(
"g6-nanode-1",
region,
image="linode/debian10",
image="linode/debian12",
label=label,
firewall=e2e_test_firewall,
)
Expand All @@ -96,7 +96,7 @@ def linode_for_vpu_tests(test_linode_client, e2e_test_firewall):
linode_instance, password = client.linode.instance_create(
"g1-accelerated-netint-vpu-t1u1-s",
region,
image="linode/debian10",
image="linode/debian12",
label=label,
firewall=e2e_test_firewall,
)
Expand Down Expand Up @@ -167,7 +167,7 @@ def create_linode_for_long_running_tests(test_linode_client, e2e_test_firewall):
linode_instance, password = client.linode.instance_create(
"g6-nanode-1",
region,
image="linode/debian10",
image="linode/debian12",
label=label + "_long_tests",
firewall=e2e_test_firewall,
)
Expand Down Expand Up @@ -241,22 +241,22 @@ def test_linode_rebuild(test_linode_client):
label = get_test_label() + "_rebuild"

linode, password = client.linode.instance_create(
"g6-nanode-1", region, image="linode/debian10", label=label
"g6-nanode-1", region, image="linode/debian12", label=label
)

wait_for_condition(10, 100, get_status, linode, "running")

retry_sending_request(
3,
linode.rebuild,
"linode/debian10",
"linode/debian12",
disk_encryption=InstanceDiskEncryptionType.disabled,
)

wait_for_condition(10, 100, get_status, linode, "rebuilding")

assert linode.status == "rebuilding"
assert linode.image.id == "linode/debian10"
assert linode.image.id == "linode/debian12"

assert linode.disk_encryption == InstanceDiskEncryptionType.disabled

Expand Down Expand Up @@ -299,7 +299,7 @@ def test_delete_linode(test_linode_client):
linode_instance, password = client.linode.instance_create(
"g6-nanode-1",
region,
image="linode/debian10",
image="linode/debian12",
label=label + "_linode",
)

Expand Down

0 comments on commit 03c8f3b

Please sign in to comment.