You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// add a success so we flake (or pass) and don't fail
602
+
ret=append(ret, &junitapi.JUnitTestCase{Name: testName, SystemOut: "Passing the case to make the overall test case flake as the previous failure is expected"})
Name: fmt.Sprintf("[bz-Machine Config Operator] clusteroperator/machine-config must go Progressing=True during an upgrade test"),
648
649
Duration: duration,
649
650
}
650
-
ifmachineConfigProgressing.IsZero() {
651
+
ifmachineConfigProgressingStart.IsZero() {
651
652
mcTestCase.FailureOutput=&junitapi.FailureOutput{
652
653
Output: fmt.Sprintf("machine-config was never Progressing=True during the upgrade window from %s to %s", start.Format(time.RFC3339), stop.Format(time.RFC3339)),
653
654
}
654
655
return []*junitapi.JUnitTestCase{mcTestCase}
655
656
} else {
656
-
mcTestCase.SystemOut=fmt.Sprintf("machine-config became Progressing=True at %s during the upgrade window from %s to %s", machineConfigProgressing.Format(time.RFC3339), start.Format(time.RFC3339), stop.Format(time.RFC3339))
657
+
mcTestCase.SystemOut=fmt.Sprintf("machine-config became Progressing=True at %s during the upgrade window from %s to %s", machineConfigProgressingStart.Format(time.RFC3339), start.Format(time.RFC3339), stop.Format(time.RFC3339))
// add a success so we flake (or pass) and don't fail
789
+
ret=append(ret, &junitapi.JUnitTestCase{Name: testName, SystemOut: "Passing the case to make the overall test case flake as the previous failure is expected"})
0 commit comments