Skip to content

Commit

Permalink
Remove flaky checksum test
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Mazzotti <[email protected]>
  • Loading branch information
anmazzotti committed Jun 21, 2024
1 parent 7227947 commit 1cf31ce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions controllers/machineinventory_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -654,11 +654,10 @@ var _ = Describe("handle unmanaged finalizer", func() {
mInventory.Annotations[elementalv1.MachineInventoryOSUnmanagedAnnotation] = "true"
Expect(cl.Update(ctx, mInventory)).To(Succeed())

wantChecksum, wantPlan, err := r.newUnmanagedResetPlan(ctx)
_, wantPlan, err := r.newUnmanagedResetPlan(ctx)
Expect(err).ToNot(HaveOccurred())

// Check Plan status
Expect(mInventory.Status.Plan.Checksum).To(Equal(wantChecksum))
Expect(mInventory.Status.Plan.PlanSecretRef.Name).To(Equal(planSecret.Name))
Expect(mInventory.Status.Plan.PlanSecretRef.Namespace).To(Equal(planSecret.Namespace))
Expect(mInventory.Status.Plan.State).To(Equal(elementalv1.PlanState("")))
Expand Down

0 comments on commit 1cf31ce

Please sign in to comment.