Skip to content

Commit 53883e3

Browse files
committed
Fix E2E error message
Signed-off-by: Ayato Tokubi <[email protected]>
1 parent 6b73ccc commit 53883e3

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)