Skip to content

Flush stdout immediately in test/dev env

Matthias Käppler requested to merge mk-flush-stdout-buffer-dev into master

What does this MR do and why?

Flush stdout immediately in test/dev env

When running GitLab in containers, puts can be delayed in logs since IO.sync is false. This requires the stdout buffer to fill first or an explicit fsync. We can flush stdout immediately by setting the sync flag.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports