diff --git a/pkg/apis/core/validation/validation_test.go b/pkg/apis/core/validation/validation_test.go index e7eb7804d96..1936b36afa2 100644 --- a/pkg/apis/core/validation/validation_test.go +++ b/pkg/apis/core/validation/validation_test.go @@ -21984,15 +21984,15 @@ func TestCrossNamespaceSource(t *testing.T) { expectedFail: true, claimSpec: pvcSpecWithCrossNamespaceSource(nil, "UnsupportedKind", &goodNS, goodName, false), }, { - testName: "Feature gate enabled and xns DataSourceRef with invalid namspace specified", + testName: "Feature gate enabled and xns DataSourceRef with invalid namespace specified", expectedFail: true, claimSpec: pvcSpecWithCrossNamespaceSource(&snapAPIGroup, snapKind, &badNS, goodName, false), }, { - testName: "Feature gate enabled and xns DataSourceRef with nil namspace specified", + testName: "Feature gate enabled and xns DataSourceRef with nil namespace specified", expectedFail: false, claimSpec: pvcSpecWithCrossNamespaceSource(&snapAPIGroup, snapKind, nil, goodName, false), }, { - testName: "Feature gate enabled and xns DataSourceRef with empty namspace specified", + testName: "Feature gate enabled and xns DataSourceRef with empty namespace specified", expectedFail: false, claimSpec: pvcSpecWithCrossNamespaceSource(&snapAPIGroup, snapKind, &emptyNS, goodName, false), }, { diff --git a/test/e2e_node/podresources_test.go b/test/e2e_node/podresources_test.go index 1cf2059ec22..494730414a3 100644 --- a/test/e2e_node/podresources_test.go +++ b/test/e2e_node/podresources_test.go @@ -1315,7 +1315,7 @@ func teardownSampleDevicePluginOrFail(ctx context.Context, f *framework.Framewor ginkgo.By(fmt.Sprintf("Delete sample device plugin pod %s/%s", pod.Namespace, pod.Name)) err := f.ClientSet.CoreV1().Pods(pod.Namespace).Delete(ctx, pod.Name, deleteOptions) - framework.ExpectNoError(err, "Failed to delete Pod %v in Namspace %v", pod.Name, pod.Namespace) + framework.ExpectNoError(err, "Failed to delete Pod %v in Namespace %v", pod.Name, pod.Namespace) waitForAllContainerRemoval(ctx, pod.Name, pod.Namespace) }