From 9cbf198ce3522422218df7a1b4ab531c24a70f49 Mon Sep 17 00:00:00 2001 From: ZhangYu Date: Tue, 19 Jul 2022 17:51:18 +0800 Subject: [PATCH] test/e2e/common/node: fix several typo --- test/e2e/common/node/runtimeclass.go | 2 +- test/e2e/common/node/security_context.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/common/node/runtimeclass.go b/test/e2e/common/node/runtimeclass.go index c6e08eb3e02..48a1bd6ab42 100644 --- a/test/e2e/common/node/runtimeclass.go +++ b/test/e2e/common/node/runtimeclass.go @@ -80,7 +80,7 @@ var _ = SIGDescribe("RuntimeClass", func() { framework.ExpectEqual(p.Status.Phase, v1.PodPending, "Pod phase isn't pending") }) - // This test requires that the PreconfiguredRuntimeHandler has already been set up on nodes. + // This test requires that the PreconfiguredRuntimeClassHandler has already been set up on nodes. // The test CANNOT be made a Conformance as it depends on a container runtime to have a specific handler installed and working. ginkgo.It("should run a Pod requesting a RuntimeClass with a configured handler [NodeFeature:RuntimeHandler]", func() { // Requires special setup of test-handler which is only done in GCE kube-up environment diff --git a/test/e2e/common/node/security_context.go b/test/e2e/common/node/security_context.go index edc00fd160a..6cd11d30fa7 100644 --- a/test/e2e/common/node/security_context.go +++ b/test/e2e/common/node/security_context.go @@ -384,7 +384,7 @@ func waitForFailure(f *framework.Framework, name string, timeout time.Duration) case v1.PodFailed: return true, nil case v1.PodSucceeded: - return true, fmt.Errorf("pod %q successed with reason: %q, message: %q", name, pod.Status.Reason, pod.Status.Message) + return true, fmt.Errorf("pod %q succeeded with reason: %q, message: %q", name, pod.Status.Reason, pod.Status.Message) default: return false, nil }