Skip to content

Commit

Permalink
Revert "Disable servicing reboot test"
Browse files Browse the repository at this point in the history
This reverts commit acab8d1.
  • Loading branch information
jknipper committed Jan 8, 2024
1 parent 2ad9ca9 commit c741f90
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions pkg/controller/servicing/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,13 +347,11 @@ func TestServicingControllerReconcile(t *testing.T) {
mockCycler.AssertNotCalled(t, "Drain")
}

/*
if subject.expectedReboot {
mockCycler.AssertCalled(t, "Reboot", nodes[0])
} else {
mockCycler.AssertNotCalled(t, "Reboot")
}
*/
if subject.expectedReboot {
mockCycler.AssertCalled(t, "Reboot", nodes[0])
} else {
mockCycler.AssertNotCalled(t, "Reboot")
}

if subject.expectedReplace {
mockCycler.AssertCalled(t, "Replace", nodes[0])
Expand Down

0 comments on commit c741f90

Please sign in to comment.