From 043796266e51ad98d2949382dbfb64deaa4dba0f Mon Sep 17 00:00:00 2001 From: Arjun Mahishi Date: Wed, 8 Jan 2025 13:24:28 +0530 Subject: [PATCH] pkg/cli: fix TestZipIncludeAndExcludeFilesDataDriven flakiness Fixes #138538 Epic: none Release note: None --- pkg/cli/zip_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cli/zip_test.go b/pkg/cli/zip_test.go index 6a753729215d..18f9b8458cc0 100644 --- a/pkg/cli/zip_test.go +++ b/pkg/cli/zip_test.go @@ -1376,7 +1376,7 @@ func trimNonDeterministicZipOutputFiles(out string) string { out = re.ReplaceAllString(out, ``) re = regexp.MustCompile(`(?m).*job_status\.txt$` + "\n") out = re.ReplaceAllString(out, ``) - re = regexp.MustCompile(`(?m).*(memprof|memstats|memmonitoring).*\.txt$` + "\n") + re = regexp.MustCompile(`(?m).*(memprof|memstats|memmonitoring).*\.(txt|pprof)$` + "\n") out = re.ReplaceAllString(out, ``) re = regexp.MustCompile(`(?m).*goroutine_dump.*\.txt\.gz$` + "\n") out = re.ReplaceAllString(out, ``)