Skip to content

Commit

Permalink
Merge pull request #2625 from reubenmiller/test-cleanup-warnings
Browse files Browse the repository at this point in the history
test: minor improvements to reduce log noise in system tests
  • Loading branch information
reubenmiller authored Jan 26, 2024
2 parents fb82765 + 0a3c4f0 commit 037c0bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/RobotFramework/requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ dateparser~=1.2.0
paho-mqtt~=1.6.1
python-dotenv~=1.0.0
robotframework~=6.1.1
robotframework-c8y @ git+https://github.com/reubenmiller/robotframework-c8y.git@0.30.1
robotframework-c8y @ git+https://github.com/reubenmiller/robotframework-c8y.git@0.31.2
robotframework-debuglibrary~=2.3.0
robotframework-jsonlibrary~=0.5
robotframework-pabot~=2.16.0
robotframework-pabot~=2.17.0
robotframework-retryfailed~=0.2.0
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

1 comment on commit 037c0bf

@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.

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass % ⏱️ Duration
381 0 3 381 100 50m33.619s

Please sign in to comment.