From 8f27219ac920bcb5868a6e7814bbe03db2161d05 Mon Sep 17 00:00:00 2001 From: Ryan Richard Date: Thu, 25 Aug 2022 08:11:37 -0700 Subject: [PATCH] Change allowed gcp auth plugin is deprecation warning text It seems that google changed it from "the gcp auth plugin is deprecated in v1.22+, unavailable in v1.25+; use gcloud instead" to instead say "unavailable in v1.26+". Make the matcher in category_test.go more loose to allow both to match. --- test/integration/category_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/category_test.go b/test/integration/category_test.go index d9f1db6f..bebfdc11 100644 --- a/test/integration/category_test.go +++ b/test/integration/category_test.go @@ -36,7 +36,7 @@ func requireCleanKubectlStderr(t *testing.T, stderr string) { case strings.TrimSpace(line) == "", strings.Contains(line, "Throttling request took"), strings.Contains(line, "due to client-side throttling, not priority and fairness"), - strings.Contains(line, "the gcp auth plugin is deprecated in v1.22+, unavailable in v1.25+; use gcloud instead"), + strings.Contains(line, "the gcp auth plugin is deprecated in v1.22+, unavailable in "), strings.Contains(line, "To learn more, consult https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke"): // ignore these allowed stderr lines default: