Skip to content

Commit

Permalink
Increase limit on stdout, stderr in docker tests (#99578)
Browse files Browse the repository at this point in the history
json logs used in docker tests are consuming more space than the previous 100KB
setting the limit to 1MB
relates #99508
  • Loading branch information
pgomulka authored Sep 14, 2023
1 parent b5ea356 commit fe7fe7d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ private Result runScriptIgnoreExitCode(String[] command) {
private String readFileIfExists(Path path) throws IOException {
if (Files.exists(path)) {
long size = Files.size(path);
final int maxFileSize = 100 * 1024;
final int maxFileSize = 1024 * 1024;
if (size > maxFileSize) {
// file is really big, truncate
try (var br = Files.newBufferedReader(path, StandardCharsets.UTF_8)) {
Expand Down

0 comments on commit fe7fe7d

Please sign in to comment.