Skip to content

Commit 65b1ea5

Browse files
authored
update duplicate label in pg test (#481)
1 parent 564f90f commit 65b1ea5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/integration/models/placement/test_placement.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,12 @@ def test_pg_migration(
7070
"""
7171
client = test_linode_client
7272

73-
label = get_test_label(10)
73+
label_pg = get_test_label(10)
74+
75+
label_instance = get_test_label(10)
7476

7577
pg_outbound = client.placement.group_create(
76-
label,
78+
label_pg,
7779
get_region(test_linode_client, {"Placement Group"}),
7880
PlacementGroupType.anti_affinity_local,
7981
PlacementGroupPolicy.flexible,
@@ -82,7 +84,7 @@ def test_pg_migration(
8284
linode = client.linode.instance_create(
8385
"g6-nanode-1",
8486
pg_outbound.region,
85-
label=create_placement_group.label,
87+
label=label_instance,
8688
placement_group=pg_outbound,
8789
)
8890

0 commit comments

Comments
 (0)