From 73716f1b911b475b8bb461fb1ef5b1df77c2670b Mon Sep 17 00:00:00 2001 From: Monis Khan Date: Mon, 19 Apr 2021 06:23:09 -0400 Subject: [PATCH] Ignore client-side throttling in kubectl stderr Signed-off-by: Monis Khan --- test/integration/category_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/integration/category_test.go b/test/integration/category_test.go index 592ccb24..253d0d62 100644 --- a/test/integration/category_test.go +++ b/test/integration/category_test.go @@ -65,7 +65,10 @@ func requireCleanKubectlStderr(t *testing.T, stderr string) { if strings.Contains(line, "Throttling request took") { continue } - require.Failf(t, "unexpected kubectl stderr", "kubectl produced unexpected stderr output:\n%s\n\n", stderr) + if strings.Contains(line, "due to client-side throttling, not priority and fairness") { + continue + } + require.Failf(t, "unexpected kubectl stderr", "kubectl produced unexpected stderr:\n%s\n\n", stderr) return } }