Skip to content

Commit

Permalink
Increase limit on stdout, stderr in docker tests
Browse files Browse the repository at this point in the history
json logs used in docker tests are consuming more space
than the previous 200KB
setting the limit to 2MB
relates elastic#99508
  • Loading branch information
pgomulka committed Sep 14, 2023
1 parent b2df331 commit 001c935
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 001c935

Please sign in to comment.