Skip to content

Commit

Permalink
Debug log container logs
Browse files Browse the repository at this point in the history
  • Loading branch information
amitlicht committed Jul 2, 2024
1 parent 76d4ee8 commit 81413f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/base_suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ func (s *BaseSuite) ReadPodLogsUntilSubstring(ctx context.Context, pod *corev1.P
default:
for reader.Scan() {
line = reader.Text()
logger.Debugf(line)
if strings.Contains(line, substring) {
logger.Infof("Matched log line: %s", line)
return
Expand Down

0 comments on commit 81413f9

Please sign in to comment.