From 84ce563fcecbdee90b3c3550ab4f2fcd37b37def Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Fri, 22 Mar 2024 08:23:43 +0000 Subject: [PATCH] mongodb example: don't start devenv manually --- examples/mongodb/.test.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/examples/mongodb/.test.sh b/examples/mongodb/.test.sh index e99f665bd..b578c2989 100755 --- a/examples/mongodb/.test.sh +++ b/examples/mongodb/.test.sh @@ -4,11 +4,6 @@ set -x mongosh --version mongod --version -# Start service in the background and store the PID -echo "Starting mongo service..." -devenv up& -DEVENV_PID=$! - check_mongo_status() { echo "Waiting for service to become available..." MONGO_OUTPUT=$(mongosh --quiet --eval "{ ping: 1 }" 2>&1) @@ -52,10 +47,6 @@ for i in $(seq 1 10); do fi done -echo 'Killing service...' -pkill -P $DEVENV_PID -wait $DEVENV_PID 2>&1 >/dev/null - # Exit the script exit $MONGO_EXIT_STATUS