From 16cfda28e3abec5be6832fc7deda55c70e40ee70 Mon Sep 17 00:00:00 2001 From: Alexandre Bourdin Date: Wed, 11 Oct 2023 10:52:43 +0200 Subject: [PATCH] Merge pull request #15141 from overleaf/ab-fix-local-acceptance-testing Fix local acceptance tests configuration GitOrigin-RevId: d4b3060b240ec748c222c7cc468a4b26442e45b8 --- services/web/local-test.env | 6 +++--- .../web/test/acceptance/config/settings.test.defaults.js | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/services/web/local-test.env b/services/web/local-test.env index d596615a79..8417e1b4f8 100644 --- a/services/web/local-test.env +++ b/services/web/local-test.env @@ -7,12 +7,12 @@ PUBSUB_REDIS_HOST=127.0.0.1 RATELIMITER_REDIS_HOST=127.0.0.1 GCLOUD_2_REDIS_HOST=127.0.0.1 POSTGRES_HOST=127.0.0.1 -MONGO_URL=mongodb://127.0.0.1/test-sharelatex +MONGO_URL=mongodb://127.0.0.1/test-sharelatex?directConnection=true SHARELATEX_LDAP_URL=ldap://127.0.0.1:22389 SAML_BASE_URL_PATH=http://127.0.0.1:22280/simplesaml/ SHARELATEX_SAML_ENTRYPOINT=http://127.0.0.1:22280/simplesaml/saml2/idp/SSOService.php SHARELATEX_SAML_CALLBACK_URL=http://127.0.0.1:22280/saml/callback COOKIE_DOMAIN= -PUBLIC_URL=http://127.0.0.1:23000 -HTTP_TEST_HOST=127.0.0.1 +PUBLIC_URL=http://localhost:23000 +HTTP_TEST_HOST=localhost diff --git a/services/web/test/acceptance/config/settings.test.defaults.js b/services/web/test/acceptance/config/settings.test.defaults.js index 78467726a0..f5e2d79864 100644 --- a/services/web/test/acceptance/config/settings.test.defaults.js +++ b/services/web/test/acceptance/config/settings.test.defaults.js @@ -29,6 +29,12 @@ module.exports = { }, }, + mongo: { + options: { + family: 4, + }, + }, + apis: { linkedUrlProxy: { url: process.env.LINKED_URL_PROXY,