Merge pull request #9271 from webpack/test/adjust-timeouts

shorter timeouts for cached builds
This commit is contained in:
Tobias Koppers 2019-06-13 17:42:30 +02:00 committed by GitHub
commit 4b2c5784ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -205,7 +205,7 @@ const describeCases = config => {
if (err) return done(err);
done();
});
});
}, 60000);
it(`${testName} should pre-compile to fill disk cache (2nd)`, done => {
const oldPath = options.output.path;
options.output.path = path.join(
@ -217,7 +217,7 @@ const describeCases = config => {
if (err) return done(err);
done();
});
});
}, 10000);
}
it(
testName + " should compile",
@ -276,7 +276,7 @@ const describeCases = config => {
run();
}
},
60000
config.cache ? 10000 : 60000
);
it(