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, ``)