Skip to content

Commit 8b4d9e1

Browse files
committed
Add hdMachineType to e2e setup code
1 parent 02c8534 commit 8b4d9e1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/e2e/tests/setup_e2e_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ var (
5151
cloudtopHost = flag.Bool("cloudtop-host", false, "The local host is cloudtop, a kind of googler machine with special requirements to access GCP")
5252
extraDriverFlags = flag.String("extra-driver-flags", "", "Extra flags to pass to the driver")
5353
enableConfidentialCompute = flag.Bool("enable-confidential-compute", false, "Create VMs with confidential compute mode. This uses NVMe devices")
54+
// Multi-writer is only supported on M3, C3, and N4
55+
// https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms#hd-multi-writer
56+
hdMachineType = flag.String("hyperdisk-machine-type", "c3-standard-4", "Type of machine to provision instance on")
5457

5558
testContexts = []*remote.TestContext{}
5659
computeService *compute.Service

0 commit comments

Comments
 (0)