Ver Fonte

restart must wait

Girish Ramakrishnan há 8 anos atrás
pai
commit
4363e06550
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      test/test.js

+ 1 - 1
test/test.js

@@ -98,7 +98,7 @@ describe('Application life cycle test', function () {
         execSync('cloudron push /tmp/crontab /app/data/crontab');
         fs.unlinkSync('/tmp/crontab');
 
-        execSync('cloudron restart');
+        execSync('cloudron restart --wait');
 
         console.log('Waiting for crontab to trigger');