Skip to content

Commit f1c16dd

Browse files
wenhugWen Huang
authored andcommitted
fix: remove custom header from VMSS resize scenario test
The RP now gates VMSize resize by preview API version instead of AFEC feature registration, so the AKSHTTPCustomFeatures header is no longer needed. Signed-off-by: wenhug <50309350+wenhug@users.noreply.github.com>
1 parent f52d744 commit f1c16dd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23370,8 +23370,7 @@ def test_aks_nodepool_update_vmss_vm_size_resize(
2337023370
create_cmd = (
2337123371
"aks create --resource-group={resource_group} --name={name} "
2337223372
"--node-count=1 --node-vm-size Standard_D2s_v3 "
23373-
"--ssh-key-value={ssh_key_value} "
23374-
"--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/AgentPoolVMSSResize"
23373+
"--ssh-key-value={ssh_key_value}"
2337523374
)
2337623375
self.cmd(
2337723376
create_cmd,
@@ -23385,8 +23384,7 @@ def test_aks_nodepool_update_vmss_vm_size_resize(
2338523384
update_cmd = (
2338623385
"aks nodepool update --resource-group={resource_group} "
2338723386
"--cluster-name={name} -n {nodepool_name} "
23388-
"--node-vm-size Standard_D4s_v3 "
23389-
"--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/AgentPoolVMSSResize"
23387+
"--node-vm-size Standard_D4s_v3"
2339023388
)
2339123389
self.cmd(
2339223390
update_cmd,

0 commit comments

Comments
 (0)