From eff1f8d8267bfa2155b8201ae30d91aa61f2a4f5 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Fri, 25 May 2018 18:48:55 +0200 Subject: [PATCH] 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. --- packages/grpc-native-core/gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grpc-native-core/gulpfile.js b/packages/grpc-native-core/gulpfile.js index 71a0b0ba..8e32d743 100644 --- a/packages/grpc-native-core/gulpfile.js +++ b/packages/grpc-native-core/gulpfile.js @@ -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) => {