test/e2e/common/node: fix several typo

This commit is contained in:
ZhangYu 2022-07-19 17:51:18 +08:00
parent e234917e0a
commit 9cbf198ce3
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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
}