From 2630e7db041cf1b8afb1369008f82fd295a27d5b Mon Sep 17 00:00:00 2001 From: Sai Kiran <110003254+opcoder0@users.noreply.github.com> Date: Wed, 8 Jan 2025 20:38:21 +1100 Subject: [PATCH] Add pytest-stress to sonic-mgmt image (#21304) Why I did it Adding pytest-stress to sonic-mgmt image will help in running stress tests. How I did it pip install pytest-stress plugin How to verify it Manually tested the image with DUT Tested branch (Please provide the tested image version) Not applicable. Description for the changelog Adding pytest-stress to sonic-mgmt image will help in running stress tests. Link to config_db schema for YANG module changes Not applicable --- dockers/docker-sonic-mgmt/Dockerfile.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dockers/docker-sonic-mgmt/Dockerfile.j2 b/dockers/docker-sonic-mgmt/Dockerfile.j2 index e5cbf9b1f3b1..ecd4e6a54fab 100755 --- a/dockers/docker-sonic-mgmt/Dockerfile.j2 +++ b/dockers/docker-sonic-mgmt/Dockerfile.j2 @@ -92,6 +92,7 @@ RUN python3 -m pip install aiohttp \ pytest-xdist==1.28.0 \ python-dateutil \ pytest==7.4.0 \ + pytest-stress \ PyYAML \ redis \ requests \ @@ -175,6 +176,7 @@ RUN python2 -m pip install allure-pytest==2.8.22 \ pytest-repeat \ pytest-html \ pytest-xdist==1.28.0 \ + pytest-stress \ python-dateutil \ PyYAML \ redis \