diff --git a/.docker/Dockerfile b/.docker/Dockerfile index f47261e0dc2d43833d279aeb5d921d8c2122dc43..43e5eff1171da8d69eb8897bea678bf90572570a 100644 --- a/.docker/Dockerfile +++ b/.docker/Dockerfile @@ -31,4 +31,4 @@ RUN rm -r /git/.git \ && mv /git/.docker/pycaosdb.ini /git/integrationtests RUN cd /git && pip3 install .[h5-crawler] WORKDIR /git/integrationtests -CMD /wait-for-it.sh caosdb-server:10443 -t 500 -- ./test.sh -force +CMD /wait-for-it.sh caosdb-server:10443 -t 500 -- ./test.sh --force diff --git a/integrationtests/test.sh b/integrationtests/test.sh index 9a2ca049f11485bc692138ddd2c5e5ba5da1544e..5efd549551670d3a4581380271ac2aba4b80a10f 100755 --- a/integrationtests/test.sh +++ b/integrationtests/test.sh @@ -1,7 +1,7 @@ #!/bin/bash -if [ "$1" != "-force" ] +if [ "$1" != "--force" ] then - echo "Warning: for these tests, the whole database is deleted. Do you want to proceed? (yes/exit)" + echo "Warning: For these tests, the whole database will be deleted. Do you want to proceed? (yes/Exit)" read safety if [ -z $safety ] then