From dda537ef6ad2953f8d0b082c6da0902e2149ac86 Mon Sep 17 00:00:00 2001 From: Karl Isenberg Date: Wed, 11 Dec 2024 16:55:05 -0800 Subject: [PATCH] fix: ignore gcloud operations list warnings (#1507) - Warnings printed to STDERR were being captured as in-progress operations, causing listOperations to error. This change fixes that issue by disabling human output for that command. --- e2e/nomostest/clusters/gke.go | 1 + 1 file changed, 1 insertion(+) diff --git a/e2e/nomostest/clusters/gke.go b/e2e/nomostest/clusters/gke.go index 2723def6b6..226188103f 100644 --- a/e2e/nomostest/clusters/gke.go +++ b/e2e/nomostest/clusters/gke.go @@ -83,6 +83,7 @@ func listOperations(ctx context.Context, t testing.NTB, name string) ([]string, "--project", *e2e.GCPProject, "--filter", fmt.Sprintf("status = RUNNING AND targetLink ~ ^.*/%s$", name), "--format", "value(name)", + "--no-user-output-enabled", // mute warnings } if *e2e.GCPZone != "" { args = append(args, "--zone", *e2e.GCPZone)