From c741f90d5ff286a77259c1817c73665659220513 Mon Sep 17 00:00:00 2001 From: Jan Knipper Date: Mon, 8 Jan 2024 09:28:33 +0100 Subject: [PATCH] Revert "Disable servicing reboot test" This reverts commit acab8d1366dc679fbd0f493b07627c5fce6cd520. --- pkg/controller/servicing/controller_test.go | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkg/controller/servicing/controller_test.go b/pkg/controller/servicing/controller_test.go index e737686061..65a876ec08 100644 --- a/pkg/controller/servicing/controller_test.go +++ b/pkg/controller/servicing/controller_test.go @@ -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])