From 9771814a99393e4c9342d92aeef487086cb05e91 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Sun, 23 Jul 2017 15:33:34 +1000 Subject: [PATCH] test(pm2): increasing timeout to see if it makes build less flaky --- test/tap/pm2-support-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }