File tree Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -70,10 +70,6 @@ var Gen4MachineHyperdiskAttachLimitMap = []struct {
70
70
max int64
71
71
value int64
72
72
}{
73
- {max : 4 , value : 15 },
74
- {max : 8 , value : 23 },
75
- {max : 16 , value : 31 },
76
- {max : 32 , value : 49 },
77
- {max : 64 , value : 63 },
78
- {max : 1024 , value : 127 },
73
+ {max : 8 , value : 15 },
74
+ {max : 1024 , value : 31 },
79
75
}
Original file line number Diff line number Diff line change @@ -271,12 +271,12 @@ func TestNodeGetVolumeLimits(t *testing.T) {
271
271
{
272
272
name : "c4-standard-192" ,
273
273
machineType : "c4-standard-192" ,
274
- expVolumeLimit : 127 ,
274
+ expVolumeLimit : 31 ,
275
275
},
276
276
{
277
277
name : "c4-standard-48" ,
278
278
machineType : "c4-standard-48" ,
279
- expVolumeLimit : 63 ,
279
+ expVolumeLimit : 31 ,
280
280
},
281
281
{
282
282
name : "c4a-standard-4" ,
@@ -302,7 +302,7 @@ func TestNodeGetVolumeLimits(t *testing.T) {
302
302
{
303
303
name : "n4-custom-8-12345-ext" ,
304
304
machineType : "n4-custom-8-12345-ext" ,
305
- expVolumeLimit : 23 ,
305
+ expVolumeLimit : 15 ,
306
306
},
307
307
{
308
308
name : "n4-custom-16-12345" ,
@@ -312,7 +312,7 @@ func TestNodeGetVolumeLimits(t *testing.T) {
312
312
{
313
313
name : "invalid gen4 machine type" ,
314
314
machineType : "n4-highcpu-4xyz" ,
315
- expVolumeLimit : volumeLimitBig ,
315
+ expVolumeLimit : 127 ,
316
316
expectError : true ,
317
317
},
318
318
{
@@ -338,12 +338,12 @@ func TestNodeGetVolumeLimits(t *testing.T) {
338
338
{
339
339
name : "c4a-standard-32-lssd" ,
340
340
machineType : "c4a-standard-32-lssd" ,
341
- expVolumeLimit : 49 ,
341
+ expVolumeLimit : 31 ,
342
342
},
343
343
{
344
344
name : "c4d-standard-32" ,
345
345
machineType : "c4d-standard-32" ,
346
- expVolumeLimit : 49 ,
346
+ expVolumeLimit : 31 ,
347
347
},
348
348
}
349
349
You can’t perform that action at this time.
0 commit comments