瀏覽代碼

restart must wait

Girish Ramakrishnan 7 年之前
父節點
當前提交
4363e06550
共有 1 個文件被更改,包括 1 次插入1 次删除
  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');