Skip to content

Commit 1a173a4

Browse files
Modify compute instance tests (#13829) (#22573)
[upstream:67ea84675b7cf6fc759f8189f6a7312ddc5ed686] Signed-off-by: Modular Magician <[email protected]>
1 parent d8a9eaa commit 1a173a4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

google/services/compute/resource_compute_instance_test.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2711,9 +2711,13 @@ func TestAccComputeInstance_enableDisplay(t *testing.T) {
27112711
computeInstanceImportStep("us-central1-a", instanceName, []string{"allow_stopping_for_update"}),
27122712
{
27132713
Config: testAccComputeInstance_enableDisplayUpdated(instanceName),
2714+
},
2715+
computeInstanceImportStep("us-central1-a", instanceName, []string{"allow_stopping_for_update"}),
2716+
{
2717+
Config: testAccComputeInstance_enableDisplay(instanceName),
27142718
Check: resource.ComposeTestCheckFunc(
27152719
acctest.GetTestMetadataForTgc("compute", "google_compute_instance.foobar",
2716-
testAccComputeInstance_enableDisplayUpdated(instanceName)),
2720+
testAccComputeInstance_enableDisplay(instanceName)),
27172721
),
27182722
},
27192723
computeInstanceImportStep("us-central1-a", instanceName, []string{"allow_stopping_for_update"}),

0 commit comments

Comments
 (0)