From 81de5d861cc9ac27606f073198fffd9b1336f8f5 Mon Sep 17 00:00:00 2001 From: Caleb James DeLisle Date: Thu, 21 Dec 2017 10:58:36 +0100 Subject: [PATCH] Caffeinate mac machines before starting the tests --- runtests.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtests.js b/runtests.js index b61d65655..37daf091c 100644 --- a/runtests.js +++ b/runtests.js @@ -69,6 +69,8 @@ run('npm', ['install'], () => { 'lsof | grep \'TCP .*:hbci (LISTEN)\'' + ' | awk \'{print $2}\' | while read x; do kill $x; done' ], waitFor()); + + run('bash', ['-c', 'caffeinate -u -t 2'], waitFor()); } }).nThen((waitFor) => { run('bower', ['install'], waitFor());