Skip to content

Commit

Permalink
test: ignore stderr to reduce noise in logs when running tests
Browse files Browse the repository at this point in the history
Signed-off-by: Reuben Miller <[email protected]>
  • Loading branch information
reubenmiller committed Jan 25, 2024
1 parent e60b548 commit 6a1a2be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/RobotFramework/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ def test(
# which causes multiple networks with the same name to be created.
log.info("Creating a container network")
c.run(
f"command -v {container_cli} &>/dev/null && ({container_cli} network create {network_name} --driver bridge || true) || true"
f"command -v {container_cli} &>/dev/null && ({container_cli} network create {network_name} --driver bridge 2>/dev/null || true) || true"
)

# Required because of docker race condition which leads to duplicate networks
Expand Down

0 comments on commit 6a1a2be

Please sign in to comment.