Skip to content

Commit

Permalink
rebase updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdeal committed Jul 12, 2024
1 parent 072f132 commit 4fc2e3c
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions test/suites/scale/deprovisioning_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,9 @@ var _ = Describe("Deprovisioning", Label(debug.NoWatch), Label(debug.NoEvents),
},
},
}...)
nodePool.Spec.Disruption.Budgets = []corev1beta1.Budget{
{
Nodes: "70%",
},
}
nodePool.Spec.Disruption.Budgets = []karpv1.Budget{{
Nodes: "70%",
}}
deploymentOptions = test.DeploymentOptions{
PodOptions: test.PodOptions{
ResourceRequirements: corev1.ResourceRequirements{
Expand Down Expand Up @@ -302,11 +300,9 @@ var _ = Describe("Deprovisioning", Label(debug.NoWatch), Label(debug.NoEvents),
env.MeasureDeprovisioningDurationFor(func() {
By("enabling deprovisioning across nodePools")
for _, p := range nodePoolMap {
p.Spec.Disruption.Budgets = []corev1beta1.Budget{
{
Nodes: "70%",
},
}
p.Spec.Disruption.Budgets = []karpv1.Budget{{
Nodes: "70%",
}}
env.ExpectCreatedOrUpdated(p)
}
env.ExpectUpdated(driftNodeClass)
Expand Down

0 comments on commit 4fc2e3c

Please sign in to comment.