mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-01 02:38:12 +00:00
Merge pull request #125477 from my-git9/namespaceformat
Modify some error words
This commit is contained in:
@@ -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),
|
||||
}, {
|
||||
|
||||
Reference in New Issue
Block a user