Skip to content

Commit fe66983

Browse files
committed
fix test
1 parent 92ea821 commit fe66983

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

src/aks-preview/azext_aks_preview/tests/latest/test_agentpool_decorator.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,6 +1235,10 @@ def test_construct_agentpool_profile_preview(self):
12351235
enable_node_public_ip=False,
12361236
enable_auto_scaling=False,
12371237
count=3,
1238+
# The new SDK defaults scale_set_priority to None, but the core
1239+
# decorator's set_up_priority_properties always sets it to "Regular"
1240+
# via get_priority() when no explicit priority is passed.
1241+
scale_set_priority="Regular",
12381242
node_taints=[],
12391243
node_initialization_taints=[],
12401244
os_disk_size_gb=0,
@@ -2001,6 +2005,10 @@ def test_construct_agentpool_profile_preview(self):
20012005
enable_node_public_ip=False,
20022006
enable_auto_scaling=False,
20032007
count=3,
2008+
# The new SDK defaults scale_set_priority to None, but the core
2009+
# decorator's set_up_priority_properties always sets it to "Regular"
2010+
# via get_priority() when no explicit priority is passed.
2011+
scale_set_priority="Regular",
20042012
node_taints=[],
20052013
node_initialization_taints=[],
20062014
os_disk_size_gb=0,
@@ -2135,6 +2143,10 @@ def test_construct_agentpool_profile_preview(self):
21352143
enable_node_public_ip=False,
21362144
enable_auto_scaling=False,
21372145
count=3,
2146+
# The new SDK defaults scale_set_priority to None, but the core
2147+
# decorator's set_up_priority_properties always sets it to "Regular"
2148+
# via get_priority() when no explicit priority is passed.
2149+
scale_set_priority="Regular",
21382150
node_taints=[],
21392151
node_initialization_taints=[],
21402152
os_disk_size_gb=0,

0 commit comments

Comments
 (0)