diff --git a/loggers/morgan/test/serve-one-http-req-with-apm.js b/loggers/morgan/test/serve-one-http-req-with-apm.js index 3c4774b..8ff23c2 100644 --- a/loggers/morgan/test/serve-one-http-req-with-apm.js +++ b/loggers/morgan/test/serve-one-http-req-with-apm.js @@ -36,7 +36,8 @@ const apm = require('elastic-apm-node').start({ serviceName: 'test-apm', centralConfig: false, captureExceptions: false, - metricsInterval: 0 + metricsInterval: 0, + apmServerVersion: '8.2.0' // avoid APM server version check request }) const app = require('express')() diff --git a/loggers/pino/test/serve-one-http-req-with-apm.js b/loggers/pino/test/serve-one-http-req-with-apm.js index f2c54f4..ee71dde 100644 --- a/loggers/pino/test/serve-one-http-req-with-apm.js +++ b/loggers/pino/test/serve-one-http-req-with-apm.js @@ -35,7 +35,8 @@ const apm = require('elastic-apm-node').start({ serviceName: 'test-apm', centralConfig: false, captureExceptions: false, - metricsInterval: 0 + metricsInterval: 0, + apmServerVersion: '8.2.0' // avoid APM server version check request }) const http = require('http') diff --git a/loggers/winston/test/serve-one-http-req-with-apm.js b/loggers/winston/test/serve-one-http-req-with-apm.js index a67836e..0c6cd4d 100644 --- a/loggers/winston/test/serve-one-http-req-with-apm.js +++ b/loggers/winston/test/serve-one-http-req-with-apm.js @@ -35,7 +35,8 @@ const apm = require('elastic-apm-node').start({ serviceName: 'test-apm', centralConfig: false, captureExceptions: false, - metricsInterval: 0 + metricsInterval: 0, + apmServerVersion: '8.2.0' // avoid APM server version check request }) const http = require('http')