mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
Merge pull request #16849 from overleaf/hb-issue-16799-mongdodb-v5-to-v6
Bump mongo from 5 to 6 in the dev environment GitOrigin-RevId: 7b5aa0be57e93e1788acf55405e645556c8eaa13
This commit is contained in:
committed by
Copybot
parent
f924f79588
commit
44d78dbee1
@@ -161,11 +161,11 @@ test_frontend_ct_editor:
|
||||
TEST_ACCEPTANCE_MONGO_INIT := \
|
||||
$(DOCKER_COMPOSE) up -d mongo; \
|
||||
$(DOCKER_COMPOSE) exec -T mongo sh -c ' \
|
||||
while ! mongo --eval "db.version()" > /dev/null; do \
|
||||
while ! mongosh --eval "db.version()" > /dev/null; do \
|
||||
echo "Waiting for Mongo..."; \
|
||||
sleep 1; \
|
||||
done; \
|
||||
mongo --eval "rs.initiate({ _id: \"overleaf\", members: [ { _id: 0, host: \"mongo:27017\" } ] })"'
|
||||
mongosh --eval "rs.initiate({ _id: \"overleaf\", members: [ { _id: 0, host: \"mongo:27017\" } ] })"'
|
||||
|
||||
test_acceptance: test_acceptance_app test_acceptance_modules
|
||||
test_acceptance_saas: test_acceptance_app_saas test_acceptance_modules_merged_saas
|
||||
|
||||
Reference in New Issue
Block a user