We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ceee3e commit 01e91f6Copy full SHA for 01e91f6
test/integration/app-infra/app_infra_test.go
@@ -83,7 +83,7 @@ func TestAppInfra(t *testing.T) {
83
confidentialProjectID := appInfra.GetStringOutput("confidential_space_project_id")
84
confidentialInstanceName := terraform.OutputList(t, appInfra.GetTFOptions(), "confidential_instances_names")[0]
85
gcInstanceOps := gcloud.WithCommonArgs([]string{"--project", confidentialProjectID, "--format", "json"})
86
- computeInstanceList := gcloud.Runf(t, "compute instances list", gcInstanceOps)
+ computeInstanceList := gcloud.Run(t, fmt.Sprintf("compute instances describe %s", confidentialInstanceName), gcInstanceOps)
87
assert.NotEmpty(computeInstanceList.Array(), "Expected at least one confidential instance")
88
computeInstance := computeInstanceList.Array()[0]
89
assert.Equal(confidentialInstanceName, computeInstance.Get("name").String(), "Confidential instance name must match expected")
0 commit comments