Update logger, metrics, and redis client

Also fix acceptance tests, broken by a change in behaviour of the redis client.
It now returns a promise from most operations. This interferes with how mocha
handles callbacks in `before` blocks.
This commit is contained in:
Shane Kilkelly
2019-06-18 15:31:19 +01:00
parent 2c1f83138c
commit ef0d9c5afc
9 changed files with 222 additions and 219 deletions
+6 -2
View File
@@ -1,9 +1,9 @@
# This file was auto-generated, do not edit it directly.
# Instead run bin/update_build_scripts from
# https://github.com/sharelatex/sharelatex-dev-environment
# Version: 1.1.16
# Version: 1.1.21
version: "3.1"
version: "2"
services:
test_unit:
@@ -13,6 +13,7 @@ services:
working_dir: /app
environment:
MOCHA_GREP: ${MOCHA_GREP}
NODE_ENV: test
command: npm run test:unit
user: node
@@ -27,6 +28,8 @@ services:
MONGO_HOST: mongo
POSTGRES_HOST: postgres
MOCHA_GREP: ${MOCHA_GREP}
LOG_LEVEL: ERROR
NODE_ENV: test
user: node
depends_on:
- mongo
@@ -49,3 +52,4 @@ services:
mongo:
image: mongo:3.4