mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
ci/lava: Disable stdout/stderr buffering
Frequency of writes is unlikely to be a performance bottleneck, and given the number of steps in between execution and the user, less buffering is gooder. Signed-off-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11309>
This commit is contained in:
parent
82631c7182
commit
bbf5f412ab
1 changed files with 5 additions and 0 deletions
|
|
@ -192,6 +192,11 @@ def main(args):
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
# given that we proxy from DUT -> LAVA dispatcher -> LAVA primary -> us ->
|
||||
# GitLab runner -> GitLab primary -> user, safe to say we don't need any
|
||||
# more buffering
|
||||
sys.stdout.reconfigure(line_buffering=True)
|
||||
sys.stderr.reconfigure(line_buffering=True)
|
||||
parser = argparse.ArgumentParser("LAVA job submitter")
|
||||
|
||||
parser.add_argument("--template")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue