Skip to content

Commit 34f13a8

Browse files
Merge pull request #22794 from sanchezl/e2e_do_not_check_file_size
Revert "e2e must-gather disable check for file sizes"
2 parents 4fa6833 + 15a7645 commit 34f13a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/extended/cli/mustgather.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ var _ = g.Describe("[cli] oc adm must-gather", func() {
7070
}
7171
}
7272
if len(emptyFiles) > 0 {
73-
fmt.Printf("expected files should not be empty: \n%s", strings.Join(emptyFiles, "\n"))
73+
o.Expect(fmt.Errorf("expected files should not be empty: %s", strings.Join(emptyFiles, ","))).NotTo(o.HaveOccurred())
7474
}
7575

7676
})

0 commit comments

Comments
 (0)