Skip to content

Commit

Permalink
Skip the c3d family during storageperf testing on windows 2012 and 20…
Browse files Browse the repository at this point in the history
…16 (#802)
  • Loading branch information
a-crate authored Sep 22, 2023
1 parent 1685a28 commit 504ea36
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions imagetest/test_suites/storageperf/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ func TestSetup(t *imagetest.TestWorkflow) error {
if machineTypeParam, foundKey := paramMap["machineType"]; foundKey {
machineType = machineTypeParam
}
if strings.HasPrefix(machineType, "c3d") && (strings.Contains(t.Image, "windows-2012") || strings.Contains(t.Image, "windows-2016")) {
continue
}
bootDisk := compute.Disk{Name: vmName + machineType, Type: imagetest.PdBalanced, SizeGb: bootdiskSizeGB}
mountDisk := compute.Disk{Name: mountDiskName + machineType, Type: imagetest.HyperdiskExtreme, SizeGb: hyperdiskSizeGB}
bootDisk.Zone = paramMap["zone"]
Expand Down

0 comments on commit 504ea36

Please sign in to comment.