Skip to content

Commit

Permalink
[sonic-mgmt]: Support for pytest-html to control logs better (#4791)
Browse files Browse the repository at this point in the history
The current stdout file which also includes the dut logs are very verbose and noisy.

We have manually installed it in the sonic-mgmt docker in our organization and tuned the pytest settings to produce very helpful and concise logs.

pytest-html plugins can be used to post-process the output in various ways based on our different and unique organizational needs.

Hence proposing to add this pkt to the docker file
  • Loading branch information
shubav authored Jun 26, 2020
1 parent b8ad0ed commit 921d132
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dockers/docker-sonic-mgmt/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ RUN pip install cffi==1.10.0 \
pyro4 \
pysnmp==4.2.5 \
pytest-repeat \
pytest-html \
pytest-xdist==1.28.0 \
pytest==4.6.5 \
redis \
Expand Down

0 comments on commit 921d132

Please sign in to comment.