@@ -57,9 +57,14 @@ func TestParameters(t *testing.T) {
57
57
& agentpools.AgentPoolSpec {
58
58
Replicas : 5 ,
59
59
Mode : "mode" ,
60
- AzureName : "agentpool" ,
60
+ AzureName : "agentpool-b " ,
61
61
Patches : []string {`{"spec": {"tags": {"from": "patches"}}}` },
62
62
},
63
+ & agentpools.AgentPoolSpec {
64
+ Replicas : 10 ,
65
+ Mode : "mode" ,
66
+ AzureName : "agentpool-a" ,
67
+ },
63
68
}, nil
64
69
},
65
70
PodCIDR : "pod cidr" ,
@@ -140,11 +145,19 @@ func TestParameters(t *testing.T) {
140
145
},
141
146
},
142
147
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
+ },
143
156
{
144
157
Count : ptr .To (5 ),
145
158
EnableAutoScaling : ptr .To (false ),
146
159
Mode : ptr .To (asocontainerservicev1 .AgentPoolMode ("mode" )),
147
- Name : ptr .To ("agentpool" ),
160
+ Name : ptr .To ("agentpool-b " ),
148
161
OsDiskSizeGB : ptr .To (asocontainerservicev1 .ContainerServiceOSDisk (0 )),
149
162
Type : ptr .To (asocontainerservicev1 .AgentPoolType_VirtualMachineScaleSets ),
150
163
Tags : map [string ]string {"from" : "patches" },
0 commit comments