Update logger, metrics, and redis

Also fix acceptance tests, broken by a change in the redis driver
behaviour. It now returns promises from most operations, which confuses mocha.
This commit is contained in:
Shane Kilkelly
2019-06-19 10:25:54 +01:00
parent e8dd1aae9c
commit 080b482e51
10 changed files with 288 additions and 193 deletions
+6 -2
View File
@@ -1,18 +1,19 @@
# 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.12
# Version: 1.1.21
version: "2"
services:
test_unit:
build: .
image: node:6.9.5
volumes:
- .:/app
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