Skip to content

Commit 3ab71e2

Browse files
cleanup
1 parent bcf16f0 commit 3ab71e2

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

test/extended/machine_config/helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ func WaitForMCNConditionStatus(clientSet *machineconfigclient.Clientset, mcnName
578578
framework.Logf("An error occured waiting for MCN '%v' %v condition to be %v: %v", mcnName, conditionType, status, conditionErr)
579579
return conditionMet, fmt.Errorf("MCN '%v' %v condition was not %v: %v", mcnName, conditionType, status, conditionErr)
580580
} else {
581-
framework.Logf("MCN '%v' %v condition was not %v: %v", mcnName, conditionType, status, conditionErr)
581+
framework.Logf("MCN '%v' %v condition was not %v.", mcnName, conditionType, status)
582582
return conditionMet, nil
583583
}
584584
}

test/extended/machine_config/machine_config_node.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -339,15 +339,6 @@ func validateTransitionThroughConditions(clientSet *machineconfigclient.Clientse
339339
framework.Logf("Warning, could not detect UpdateExecuted=Unknown.")
340340
}
341341

342-
// TEST CODE; TODO: REMOVE
343-
framework.Logf("Waiting for Cordoned=True")
344-
conditionMet, err = WaitForMCNConditionStatus(clientSet, updatingNodeName, mcfgv1alpha1.MachineConfigNodeUpdateCordoned, metav1.ConditionTrue, 5*time.Second, 1*time.Second)
345-
o.Expect(err).NotTo(o.HaveOccurred(), fmt.Sprintf("Error occured while waiting for Cordoned=True: %v", err))
346-
if !conditionMet {
347-
framework.Logf("Warning, could not detect Cordoned=True.")
348-
}
349-
// TEST CODE; TODO: REMOVE
350-
351342
// On standard, non-rebootless, update, check that node transitions through "Cordoned" and "Drained" phases
352343
if !isRebootless {
353344
framework.Logf("Waiting for Cordoned=True")

0 commit comments

Comments
 (0)