소스 검색

restart must wait

Girish Ramakrishnan 8 년 전
부모
커밋
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');