Skip to content

Commit

Permalink
tests(helpers): specify a larger buffer to avoid read stalling issues…
Browse files Browse the repository at this point in the history
… caused by insufficient buffer size (#13163)
  • Loading branch information
Water-Melon authored and windmgc committed Jun 5, 2024
1 parent f46ac8e commit 4adb677
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/helpers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3312,7 +3312,8 @@ luassert:register("assertion", "partial_match", partial_match,
-- (ok, code, stdout, stderr); if `returns` is false,
-- returns either (false, stderr) or (true, stderr, stdout).
function exec(cmd, returns)
local ok, stdout, stderr, _, code = shell.run(cmd, nil, 0)
--100MB for retrieving stdout & stderr
local ok, stdout, stderr, _, code = shell.run(cmd, nil, 0, 1024*1024*100)
if returns then
return ok, code, stdout, stderr
end
Expand Down

1 comment on commit 4adb677

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bazel Build

Docker image available kong/kong:4adb6772a13e036f770ef6110c665e663db8cade
Artifacts available https://github.com/Kong/kong/actions/runs/9379227428

Please sign in to comment.