Skip to content

Commit 6cdbf24

Browse files
Merge pull request #158193 from Abhinav1299/backport25.4.1-rc-158033
release-25.4.1-rc: cli: filter standalone NOTICE lines in debug zip test output
2 parents 60d802b + c8a0836 commit 6cdbf24

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/cli/zip_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,10 @@ func eraseNonDeterministicZipOutput(out string) string {
691691
re = regexp.MustCompile(`(?m)^\[node \d+\] \d+ execution traces found$`)
692692
out = re.ReplaceAllString(out, `[node ?] ? execution traces found`)
693693

694+
// Remove license-related NOTICE messages that may appear intermittently.
695+
re = regexp.MustCompile(`(?m)^NOTICE: No license is installed.*\n?`)
696+
out = re.ReplaceAllString(out, ``)
697+
694698
return out
695699
}
696700

0 commit comments

Comments
 (0)