diff --git a/services/web/Makefile.module b/services/web/Makefile.module index 0b5e96ef2a..73e20d44c4 100644 --- a/services/web/Makefile.module +++ b/services/web/Makefile.module @@ -31,11 +31,11 @@ DOCKER_COMPOSE_TEST_UNIT := \ TEST_ACCEPTANCE_MONGO_INIT := \ $(DOCKER_COMPOSE_TEST_ACCEPTANCE) up -d mongo; \ $(DOCKER_COMPOSE_TEST_ACCEPTANCE) 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\" } ] })"' ifeq (,$(wildcard test/unit)) test_unit: