Skip to content

Commit 69e07b2

Browse files
Fix failing test: "TestAccComputeInstance_bootAndAttachedDisk_interface" (#12698) (#9112)
[upstream:bcafdce5e9614b86644af9a41a61a52847a580e9] Signed-off-by: Modular Magician <[email protected]>
1 parent e23eb7b commit 69e07b2

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.changelog/12698.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
compute: fixed a failing test for `TestAccComputeInstance_bootAndAttachedDisk_interface` in `google_compte_instance`.
3+
```

google-beta/services/compute/resource_compute_instance_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -11227,10 +11227,10 @@ func TestAccComputeInstance_bootAndAttachedDisk_interface(t *testing.T) {
1122711227
ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories(t),
1122811228
Steps: []resource.TestStep{
1122911229
{
11230-
Config: testAccComputeInstance_bootAndAttachedDisk_interface(instanceName1, diskName1, envvar.GetTestZoneFromEnv(), "h3-standard-88", "NVME", false),
11230+
Config: testAccComputeInstance_bootAndAttachedDisk_interface(instanceName1, diskName1, envvar.GetTestZoneFromEnv(), "c3-standard-22", "NVME", false),
1123111231
Check: resource.ComposeTestCheckFunc(
1123211232
resource.TestCheckResourceAttr("google_compute_instance.foobar", "boot_disk.0.interface", "NVME"),
11233-
resource.TestCheckResourceAttr("google_compute_instance.foobar", "machine_type", "h3-standard-88"),
11233+
resource.TestCheckResourceAttr("google_compute_instance.foobar", "machine_type", "c3-standard-22"),
1123411234
),
1123511235
},
1123611236
//computeInstanceImportStep("us-central1-a", instanceName1, []string{"desired_status","allow_stopping_for_update"}),

0 commit comments

Comments
 (0)