Skip to content

Commit 01e91f6

Browse files
fix computeInstanceList
1 parent 4ceee3e commit 01e91f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/app-infra/app_infra_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func TestAppInfra(t *testing.T) {
8383
confidentialProjectID := appInfra.GetStringOutput("confidential_space_project_id")
8484
confidentialInstanceName := terraform.OutputList(t, appInfra.GetTFOptions(), "confidential_instances_names")[0]
8585
gcInstanceOps := gcloud.WithCommonArgs([]string{"--project", confidentialProjectID, "--format", "json"})
86-
computeInstanceList := gcloud.Runf(t, "compute instances list", gcInstanceOps)
86+
computeInstanceList := gcloud.Run(t, fmt.Sprintf("compute instances describe %s", confidentialInstanceName), gcInstanceOps)
8787
assert.NotEmpty(computeInstanceList.Array(), "Expected at least one confidential instance")
8888
computeInstance := computeInstanceList.Array()[0]
8989
assert.Equal(confidentialInstanceName, computeInstance.Get("name").String(), "Confidential instance name must match expected")

0 commit comments

Comments
 (0)