From fe91d0305cfb99af462f70ce47abfa812f961eab Mon Sep 17 00:00:00 2001 From: Sylvain Gaudan Date: Mon, 5 Feb 2024 15:42:58 +0100 Subject: [PATCH] fix tests$ --- scripts/tests.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/tests.sh b/scripts/tests.sh index 3313ca8..6d92d39 100755 --- a/scripts/tests.sh +++ b/scripts/tests.sh @@ -1,11 +1,11 @@ #!/bin/sh set -e -#./scripts/start_stack.sh +./scripts/start_stack.sh # ---------------------------------------------------------- echo "TEST default configuration placed in $HOME/.arlas/cli" -rm $HOME/.arlas/cli/configuration.yaml +rm -f $HOME/.arlas/cli/configuration.yaml python3 -m arlas.cli.cli --help FILE=$HOME/.arlas/cli/configuration.yaml if test -f "$FILE"; then @@ -115,6 +115,7 @@ else exit 1 fi +sleep 2 # ---------------------------------------------------------- echo "TEST collection deleted" if python3 -m arlas.cli.cli local collections list | grep courses ; then @@ -134,6 +135,9 @@ else exit 1 fi + +sleep 2 + # ---------------------------------------------------------- echo "TEST index deleted" if python3 -m arlas.cli.cli local indices list | grep courses ; then @@ -144,4 +148,4 @@ else fi -#./scripts/stop_stack.sh \ No newline at end of file +./scripts/stop_stack.sh \ No newline at end of file