From c2420dea12f9673ee810736a4fc6860f72c82ec6 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Mon, 29 Jul 2024 18:56:44 -0400 Subject: [PATCH] Add test Signed-off-by: Peter Zhu --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 63f0e8e4..586bca07 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -23,7 +23,7 @@ ENV PIP_ONLY_BINARY=h5py COPY opensearch-benchmark-git/ ./opensearch-benchmark-git # Currently we always have the $VERSION arg substituted during prod publishing -# Default VERSION=testing to enter test mode based on user inputs +# Default VERSION=testing to enter test mode based on user inputs. RUN if [ "$VERSION" = "testing" ] ; then echo Testing; cp -a opensearch-benchmark-git/* ./; ls -l; python3 -m pip install -e . ; python3 -m pip install pytest tox; pytest tests/; \ else echo Production; rm -rf opensearch-benchmark-git; ls -l; python3 -m pip install opensearch-benchmark==$VERSION ; fi