Explorar o código

restart must wait

Girish Ramakrishnan %!s(int64=8) %!d(string=hai) anos
pai
achega
4363e06550
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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');