@@ -842,7 +842,7 @@ func TestGetSpotVMOptions(t *testing.T) {
842842 MaxPrice : & maxPrice ,
843843 },
844844 priority : compute .VirtualMachinePriorityTypesSpot ,
845- evictionPolicy : compute .VirtualMachineEvictionPolicyTypesDeallocate ,
845+ evictionPolicy : compute .VirtualMachineEvictionPolicyTypesDelete ,
846846 billingProfile : & compute.BillingProfile {
847847 MaxPrice : & maxPriceFloat ,
848848 },
@@ -858,7 +858,7 @@ func TestGetSpotVMOptions(t *testing.T) {
858858 name : "not return an error with empty spot vm options" ,
859859 spotVMOptions : & machinev1.SpotVMOptions {},
860860 priority : compute .VirtualMachinePriorityTypesSpot ,
861- evictionPolicy : compute .VirtualMachineEvictionPolicyTypesDeallocate ,
861+ evictionPolicy : compute .VirtualMachineEvictionPolicyTypesDelete ,
862862 billingProfile : & compute.BillingProfile {
863863 MaxPrice : nil ,
864864 },
@@ -869,7 +869,7 @@ func TestGetSpotVMOptions(t *testing.T) {
869869 MaxPrice : nil ,
870870 },
871871 priority : compute .VirtualMachinePriorityTypesSpot ,
872- evictionPolicy : compute .VirtualMachineEvictionPolicyTypesDeallocate ,
872+ evictionPolicy : compute .VirtualMachineEvictionPolicyTypesDelete ,
873873 billingProfile : & compute.BillingProfile {
874874 MaxPrice : nil ,
875875 },
0 commit comments