diff --git a/pytest_tests/lib/helpers/http_gate.py b/pytest_tests/lib/helpers/http_gate.py index 71f0b3cc2..51074521d 100644 --- a/pytest_tests/lib/helpers/http_gate.py +++ b/pytest_tests/lib/helpers/http_gate.py @@ -222,7 +222,7 @@ def upload_via_http_gate_curl( large_object = is_object_large(filepath) if large_object: # pre-clean - _cmd_run("rm pipe -f") + _cmd_run("rm pipe -f || true") files = f"file=@pipe;filename={os.path.basename(filepath)}" cmd = f"mkfifo pipe;cat {filepath} > pipe & curl --silent --no-buffer -F '{files}' {attributes}{cookies_attr} {request}" output = _cmd_run(cmd, LONG_TIMEOUT)