@@ -57,9 +57,14 @@ func TestParameters(t *testing.T) {
5757 & agentpools.AgentPoolSpec {
5858 Replicas : 5 ,
5959 Mode : "mode" ,
60- AzureName : "agentpool" ,
60+ AzureName : "agentpool-b " ,
6161 Patches : []string {`{"spec": {"tags": {"from": "patches"}}}` },
6262 },
63+ & agentpools.AgentPoolSpec {
64+ Replicas : 10 ,
65+ Mode : "mode" ,
66+ AzureName : "agentpool-a" ,
67+ },
6368 }, nil
6469 },
6570 PodCIDR : "pod cidr" ,
@@ -140,11 +145,19 @@ func TestParameters(t *testing.T) {
140145 },
141146 },
142147 AgentPoolProfiles : []asocontainerservicev1.ManagedClusterAgentPoolProfile {
148+ {
149+ Count : ptr .To (10 ),
150+ EnableAutoScaling : ptr .To (false ),
151+ Mode : ptr .To (asocontainerservicev1 .AgentPoolMode ("mode" )),
152+ Name : ptr .To ("agentpool-a" ),
153+ OsDiskSizeGB : ptr .To (asocontainerservicev1 .ContainerServiceOSDisk (0 )),
154+ Type : ptr .To (asocontainerservicev1 .AgentPoolType_VirtualMachineScaleSets ),
155+ },
143156 {
144157 Count : ptr .To (5 ),
145158 EnableAutoScaling : ptr .To (false ),
146159 Mode : ptr .To (asocontainerservicev1 .AgentPoolMode ("mode" )),
147- Name : ptr .To ("agentpool" ),
160+ Name : ptr .To ("agentpool-b " ),
148161 OsDiskSizeGB : ptr .To (asocontainerservicev1 .ContainerServiceOSDisk (0 )),
149162 Type : ptr .To (asocontainerservicev1 .AgentPoolType_VirtualMachineScaleSets ),
150163 Tags : map [string ]string {"from" : "patches" },
0 commit comments