Skip to content

Commit f54ebe1

Browse files
author
Yuvaraj Kakaraparthi
committed
fix incorrect assertion
1 parent 6a2e354 commit f54ebe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/controllers/machineset/machineset_controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1271,7 +1271,7 @@ func TestMachineSetReconciler_syncMachines(t *testing.T) {
12711271
))
12721272
g.Expect(updatedInPlaceMutatingMachine.Spec.NodeVolumeDetachTimeout).Should(And(
12731273
Not(BeNil()),
1274-
HaveValue(Equal(*ms.Spec.Template.Spec.NodeDrainTimeout)),
1274+
HaveValue(Equal(*ms.Spec.Template.Spec.NodeVolumeDetachTimeout)),
12751275
))
12761276
}, timeout).Should(Succeed())
12771277

0 commit comments

Comments
 (0)