diff --git a/gulpfile.js b/gulpfile.js index ecfec70573..51a2e77180 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -52,7 +52,7 @@ gulp.task('services', () => { gulp.task('servicesDev', callback => { let isWindows = /^win/.test(process.platform); - let command = isWindows ? 'docker inspect dblocal |findstr Status' : 'docker inspect dblocal |grep Status'; + let command = isWindows ? 'docker inspect dblocal | findstr Status' : 'docker inspect dblocal | grep Status'; gutil.env.env = 'test'; exec(command, (err, stdout, stderr) => { let isNotRunning = !stdout.includes('running'); @@ -174,7 +174,7 @@ gulp.task('e2e', callback => { }); gulp.task('waitForMySQL', callback => { - let maxInterval = 15000; + let maxInterval = 30000; let interval = 1000; let timer = 0; console.log('Waiting for MySQL init process...');