Skip to content

Commit 6640fa2

Browse files
Fix failing test: "TestAccComputeInstance_bootAndAttachedDisk_interface" (#12698) (#20993)
[upstream:bcafdce5e9614b86644af9a41a61a52847a580e9] Signed-off-by: Modular Magician <[email protected]>
1 parent 49dd365 commit 6640fa2

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/services/compute/resource_compute_instance_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -9514,10 +9514,10 @@ func TestAccComputeInstance_bootAndAttachedDisk_interface(t *testing.T) {
95149514
ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories(t),
95159515
Steps: []resource.TestStep{
95169516
{
9517-
Config: testAccComputeInstance_bootAndAttachedDisk_interface(instanceName1, diskName1, envvar.GetTestZoneFromEnv(), "h3-standard-88", "NVME", false),
9517+
Config: testAccComputeInstance_bootAndAttachedDisk_interface(instanceName1, diskName1, envvar.GetTestZoneFromEnv(), "c3-standard-22", "NVME", false),
95189518
Check: resource.ComposeTestCheckFunc(
95199519
resource.TestCheckResourceAttr("google_compute_instance.foobar", "boot_disk.0.interface", "NVME"),
9520-
resource.TestCheckResourceAttr("google_compute_instance.foobar", "machine_type", "h3-standard-88"),
9520+
resource.TestCheckResourceAttr("google_compute_instance.foobar", "machine_type", "c3-standard-22"),
95219521
),
95229522
},
95239523
//computeInstanceImportStep("us-central1-a", instanceName1, []string{"desired_status","allow_stopping_for_update"}),

0 commit comments

Comments
 (0)