Relax node_id length limit to 256

This commit is contained in:
Jiawei Wang
2021-04-19 12:25:11 -07:00
parent bd67aeff26
commit 125fb04dbf
3 changed files with 7 additions and 7 deletions

View File

@@ -1034,7 +1034,7 @@ func TestCSINodeValidation(t *testing.T) {
driverName2 := "1io.kubernetes-storage-2-csi-driver3"
longName := "my-a-b-c-d-c-f-g-h-i-j-k-l-m-n-o-p-q-r-s-t-u-v-w-x-y-z-ABCDEFGHIJKLMNOPQRSTUVWXYZ-driver" // 88 chars
nodeID := "nodeA"
longID := longName + longName // 176 chars
longID := longName + longName + "abcdefghijklmnopqrstuvwxyz" // 202 chars
successCases := []storage.CSINode{
{
// driver name: dot only