diff --git a/test/tap/pm2-support-test.js b/test/tap/pm2-support-test.js index 350726a..510c666 100644 --- a/test/tap/pm2-support-test.js +++ b/test/tap/pm2-support-test.js @@ -76,12 +76,12 @@ if (cluster.isMaster) { }); const anotherLogger = log4js.getLogger('test'); anotherLogger.info('this should now get logged'); - }, 500); + }, 1000); // we have to wait a bit, so that the process.send messages get a chance to propagate setTimeout(() => { const events = recorder.replay(); process.send({ type: 'testing', instance: process.env.NODE_APP_INSTANCE, events: events }); cluster.worker.disconnect(); - }, 1000); + }, 2000); }