From 53883e35c8fcfcc9ed037202e0378f816e63d7c2 Mon Sep 17 00:00:00 2001 From: Ayato Tokubi Date: Sun, 9 Jun 2024 00:36:04 +0000 Subject: [PATCH] Fix E2E error message Signed-off-by: Ayato Tokubi --- test/e2e/common/node/init_container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/common/node/init_container.go b/test/e2e/common/node/init_container.go index 828cfc8b415..bbdf84e7a75 100644 --- a/test/e2e/common/node/init_container.go +++ b/test/e2e/common/node/init_container.go @@ -536,7 +536,7 @@ var _ = SIGDescribe("InitContainer", framework.WithNodeConformance(), func() { return false, nil } if status.State.Terminated != nil && status.State.Terminated.ExitCode != 0 { - return false, fmt.Errorf("first init container should have exitCode != 0: %s", toDebugJSON(status)) + return false, fmt.Errorf("first init container should have exitCode == 0: %s", toDebugJSON(status)) } status = t.Status.InitContainerStatuses[1] if status.State.Terminated == nil {