|
@@ -247,7 +247,8 @@ describe('Application life cycle test', function () {
|
|
|
it('can login', login.bind(null, username, password));
|
|
|
|
|
|
it('runs cron jobs', function (done) {
|
|
|
- this.timeout(120000);
|
|
|
+ this.timeout(6 * 60 * 1000); // cron runs only every 5 minutes
|
|
|
+ console.log('It can take upto 6 mins to detect that cron is working');
|
|
|
|
|
|
// cron jobs are only executed when app is running and healthy
|
|
|
setTimeout(function () {
|