mirror of https://github.com/grpc/grpc-node.git
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:
parent
0eb9159d5e
commit
eff1f8d826
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue