Skip to content

Commit 3fdf06a

Browse files
authored
Merge pull request kubernetes#125401 from bitoku/fix-fail-message
Fix E2E error message
2 parents 16b7d53 + 53883e3 commit 3fdf06a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/common/node/init_container.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ var _ = SIGDescribe("InitContainer", framework.WithNodeConformance(), func() {
536536
return false, nil
537537
}
538538
if status.State.Terminated != nil && status.State.Terminated.ExitCode != 0 {
539-
return false, fmt.Errorf("first init container should have exitCode != 0: %s", toDebugJSON(status))
539+
return false, fmt.Errorf("first init container should have exitCode == 0: %s", toDebugJSON(status))
540540
}
541541
status = t.Status.InitContainerStatuses[1]
542542
if status.State.Terminated == nil {

0 commit comments

Comments
 (0)