Relax node_id length limit to 256
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user