From ab35feb5bd7c2ff206291a1df4daf92f569dd860 Mon Sep 17 00:00:00 2001 From: Sumesh Pradhan Date: Thu, 31 Aug 2023 18:44:16 +0530 Subject: [PATCH] Ci/cypress on doc db (#26840) --- .github/workflows/ci-test-with-documentdb.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-test-with-documentdb.yml b/.github/workflows/ci-test-with-documentdb.yml index 8476e508e4..c22d67a96d 100644 --- a/.github/workflows/ci-test-with-documentdb.yml +++ b/.github/workflows/ci-test-with-documentdb.yml @@ -189,7 +189,7 @@ jobs: echo "DB_NAME: ${DB_NAME}" MONGO_CREDS=$(echo $APPSMITH_MONGODB_URI | sed 's/@.*//') URI="${MONGO_CREDS}@localhost:27010/${DB_NAME}?retryWrites=false&replicaSet=rs0&directConnection=true" - mongorestore --uri="${URI}" --archive=data.gz --gzip --drop --nsInclude 'doc-db-base.*' + mongorestore --uri="${URI}" --archive=data.gz --gzip --drop --nsInclude "doc-db-base.*" --nsFrom "doc-db-base.*" --nsTo "${DB_NAME}.*" sudo /etc/init.d/ssh stop ; mkdir -p ~/git-server/keys mkdir -p ~/git-server/repos