mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-23 15:30:44 -04:00
cli: azure scale set poller: check for power state of every instance (#78)
This commit is contained in:
parent
020cf51fc6
commit
47b3195bac
4 changed files with 91 additions and 37 deletions
|
@ -30,8 +30,8 @@ func TestCreateInstances(t *testing.T) {
|
|||
publicIPAddressesAPI: stubPublicIPAddressesAPI{},
|
||||
networkInterfacesAPI: stubNetworkInterfacesAPI{},
|
||||
scaleSetsAPI: stubScaleSetsAPI{
|
||||
stubResponse: armcomputev2.VirtualMachineScaleSetsClientCreateOrUpdateResponse{
|
||||
VirtualMachineScaleSet: armcomputev2.VirtualMachineScaleSet{Identity: &armcomputev2.VirtualMachineScaleSetIdentity{PrincipalID: to.Ptr("principal-id")}},
|
||||
getResponse: armcomputev2.VirtualMachineScaleSet{
|
||||
Identity: &armcomputev2.VirtualMachineScaleSetIdentity{PrincipalID: to.Ptr("principal-id")}, SKU: &armcomputev2.SKU{Capacity: to.Ptr[int64](0)},
|
||||
},
|
||||
},
|
||||
createInstancesInput: CreateInstancesInput{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue