Skip to content

Commit 0a5a8bd

Browse files
committed
Add attach limits for C3 Baremetal and A4X + A4X-Max machine types
1 parent fc87592 commit 0a5a8bd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pkg/gce-pd-csi-driver/node_test.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,16 @@ func TestNodeGetVolumeLimits(t *testing.T) {
415415
machineType: "a4x-max-4g",
416416
expVolumeLimit: 127,
417417
},
418+
{
419+
name: "a4x-max-8g", // -8g does not exist, testing edge case
420+
machineType: "a4x-max-8g",
421+
expVolumeLimit: 127,
422+
},
423+
{
424+
name: "a4x-medgpu-nolssd", // does not exist, testing edge case
425+
machineType: "a4x-medgpu-nolssd",
426+
expVolumeLimit: volumeLimitBig,
427+
},
418428
}
419429

420430
for _, tc := range testCases {

0 commit comments

Comments
 (0)