Merge pull request #6661 from overleaf/spd-local-tests

Move acceptance test mocks to nonstandard ports and add options for running locally

GitOrigin-RevId: bd8f70ac8d80599daccc51cfe7b90a2ad8d8c3d8
This commit is contained in:
Simon Detheridge
2022-08-09 13:03:30 +01:00
committed by Copybot
parent 671d9b1306
commit 53dd89a826
22 changed files with 172 additions and 53 deletions

View File

@@ -50,9 +50,7 @@ describe('ServerCEScripts', function () {
it('should exit with code 1 on error', function () {
try {
run(
'REDIS_HOST=localhost node modules/server-ce-scripts/scripts/check-redis'
)
run('REDIS_PORT=42 node modules/server-ce-scripts/scripts/check-redis')
} catch (e) {
expect(e.status).to.equal(1)
return