Skip to content

Commit c383242

Browse files
committed
Modify some error words
Signed-off-by: xin.li <[email protected]>
1 parent 7943c17 commit c383242

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pkg/apis/core/validation/validation_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23983,15 +23983,15 @@ func TestCrossNamespaceSource(t *testing.T) {
2398323983
expectedFail: true,
2398423984
claimSpec: pvcSpecWithCrossNamespaceSource(nil, "UnsupportedKind", &goodNS, goodName, false),
2398523985
}, {
23986-
testName: "Feature gate enabled and xns DataSourceRef with invalid namspace specified",
23986+
testName: "Feature gate enabled and xns DataSourceRef with invalid namespace specified",
2398723987
expectedFail: true,
2398823988
claimSpec: pvcSpecWithCrossNamespaceSource(&snapAPIGroup, snapKind, &badNS, goodName, false),
2398923989
}, {
23990-
testName: "Feature gate enabled and xns DataSourceRef with nil namspace specified",
23990+
testName: "Feature gate enabled and xns DataSourceRef with nil namespace specified",
2399123991
expectedFail: false,
2399223992
claimSpec: pvcSpecWithCrossNamespaceSource(&snapAPIGroup, snapKind, nil, goodName, false),
2399323993
}, {
23994-
testName: "Feature gate enabled and xns DataSourceRef with empty namspace specified",
23994+
testName: "Feature gate enabled and xns DataSourceRef with empty namespace specified",
2399523995
expectedFail: false,
2399623996
claimSpec: pvcSpecWithCrossNamespaceSource(&snapAPIGroup, snapKind, &emptyNS, goodName, false),
2399723997
}, {

test/e2e_node/podresources_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,7 @@ func teardownSampleDevicePluginOrFail(ctx context.Context, f *framework.Framewor
13151315
ginkgo.By(fmt.Sprintf("Delete sample device plugin pod %s/%s", pod.Namespace, pod.Name))
13161316
err := f.ClientSet.CoreV1().Pods(pod.Namespace).Delete(ctx, pod.Name, deleteOptions)
13171317

1318-
framework.ExpectNoError(err, "Failed to delete Pod %v in Namspace %v", pod.Name, pod.Namespace)
1318+
framework.ExpectNoError(err, "Failed to delete Pod %v in Namespace %v", pod.Name, pod.Namespace)
13191319
waitForAllContainerRemoval(ctx, pod.Name, pod.Namespace)
13201320
}
13211321

0 commit comments

Comments
 (0)