@@ -150,7 +150,8 @@ func TestGetExistingVMSS(t *testing.T) {
150150 Name : to .StringPtr ("Standard_D2" ),
151151 },
152152 VirtualMachineScaleSetProperties : & compute.VirtualMachineScaleSetProperties {
153- ProvisioningState : to .StringPtr ("Succeeded" ),
153+ SinglePlacementGroup : to .BoolPtr (false ),
154+ ProvisioningState : to .StringPtr ("Succeeded" ),
154155 },
155156 Zones : & []string {"1" , "3" },
156157 }, nil )
@@ -182,7 +183,8 @@ func TestGetExistingVMSS(t *testing.T) {
182183 ID : to .StringPtr ("my-id" ),
183184 Name : to .StringPtr ("my-vmss" ),
184185 VirtualMachineScaleSetProperties : & compute.VirtualMachineScaleSetProperties {
185- ProvisioningState : to .StringPtr ("Succeeded" ),
186+ SinglePlacementGroup : to .BoolPtr (false ),
187+ ProvisioningState : to .StringPtr ("Succeeded" ),
186188 },
187189 }, nil )
188190 m .ListInstances (gomockinternal .AContext (), "my-rg" , "my-vmss" ).Return ([]compute.VirtualMachineScaleSetVM {}, autorest .NewErrorWithResponse ("" , "" , & http.Response {StatusCode : 404 }, "Not found" ))
@@ -853,6 +855,7 @@ func newDefaultVMSS() compute.VirtualMachineScaleSet {
853855 },
854856 Zones : & []string {"1" , "3" },
855857 VirtualMachineScaleSetProperties : & compute.VirtualMachineScaleSetProperties {
858+ SinglePlacementGroup : to .BoolPtr (false ),
856859 UpgradePolicy : & compute.UpgradePolicy {
857860 Mode : compute .UpgradeModeManual ,
858861 },
0 commit comments