Increasing mocha timeout to 5s up from 2s.

Our fleet of macos is a bit less powerful than the rest, so we
regularly flake tests there due to this timeout.
This commit is contained in:
Nicolas "Pixel" Noble 2018-05-25 18:48:55 +02:00
parent 0eb9159d5e
commit eff1f8d826
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ gulp.task('build', 'Build native package', () => {
});
gulp.task('test', 'Run all tests', ['build'], () => {
return gulp.src(`${testDir}/*.js`).pipe(mocha({reporter: 'mocha-jenkins-reporter'}));
return gulp.src(`${testDir}/*.js`).pipe(mocha({timeout: 5000, reporter: 'mocha-jenkins-reporter'}));
});
gulp.task('doc.gen', 'Generate docs', (cb) => {