From 304585f7f84b5174471931a683e6f0a3a2e4a9b8 Mon Sep 17 00:00:00 2001 From: bhandarivijay Date: Mon, 29 Dec 2025 17:24:47 +0000 Subject: [PATCH] chore:Migrate gsutil usage to gcloud storage --- .../gcs_event_arc_trigger_workflow_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/integration/gcs_event_arc_trigger_workflow/gcs_event_arc_trigger_workflow_test.go b/test/integration/gcs_event_arc_trigger_workflow/gcs_event_arc_trigger_workflow_test.go index 55eccdc..820f488 100755 --- a/test/integration/gcs_event_arc_trigger_workflow/gcs_event_arc_trigger_workflow_test.go +++ b/test/integration/gcs_event_arc_trigger_workflow/gcs_event_arc_trigger_workflow_test.go @@ -42,7 +42,7 @@ func writeFile(fileName string) { } func uploadToGCS(bucket, file string) { - cmd := exec.Command("gsutil", "cp", file, "gs://"+bucket+"/"+filepath.Base(file)) + cmd := exec.Command("gcloud", "storage", "cp", file, "gs://"+bucket+"/"+filepath.Base(file)) err := cmd.Run() check(err) } @@ -52,7 +52,6 @@ var retryErrors = map[string]string{ ".*Provider produced inconsistent final plan.*": "Provider bug, retry", } - func TestGcsEventArcTriggerWorkflow(t *testing.T) { bpt := tft.NewTFBlueprintTest(t, tft.WithRetryableTerraformErrors(retryErrors, 5, time.Minute))