Skip to content

Commit 5972f1a

Browse files
authored
build: longer timeouts for webpack on travis (#4501)
1 parent 6bab5ec commit 5972f1a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/e2e/tests/build/rebuild-css-change.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ export default function() {
1717
return silentExecAndWaitForOutputToMatch('ng', ['serve'], webpackGoodRegEx)
1818
// Should trigger a rebuild.
1919
.then(() => exec('touch', 'src/main.ts'))
20-
.then(() => waitForAnyProcessOutputToMatch(webpackBadRegEx, 1000))
20+
.then(() => waitForAnyProcessOutputToMatch(webpackBadRegEx, 5000))
2121
.then(() => waitForAnyProcessOutputToMatch(webpackGoodRegEx, 5000))
2222
.then(() => appendToFile('src/app/app.component.css', ':host { color: blue; }'))
23-
.then(() => waitForAnyProcessOutputToMatch(webpackBadRegEx, 1000))
23+
.then(() => waitForAnyProcessOutputToMatch(webpackBadRegEx, 5000))
2424
.then(() => waitForAnyProcessOutputToMatch(webpackGoodRegEx, 5000))
2525
.then(() => killAllProcesses(), (err: any) => {
2626
killAllProcesses();

tests/e2e/tests/build/rebuild.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default function() {
2222
// Should trigger a rebuild.
2323
.then(() => exec('touch', 'src/main.ts'))
2424
.then(() => waitForAnyProcessOutputToMatch(
25-
/webpack: bundle is now INVALID|webpack: Compiling.../, 1000))
25+
/webpack: bundle is now INVALID|webpack: Compiling.../, 5000))
2626
.then(() => waitForAnyProcessOutputToMatch(
2727
/webpack: bundle is now VALID|webpack: Compiled successfully./, 5000))
2828
// Count the bundles.
@@ -61,7 +61,7 @@ export default function() {
6161
`))
6262
// Should trigger a rebuild with a new bundle.
6363
.then(() => waitForAnyProcessOutputToMatch(
64-
/webpack: bundle is now INVALID|webpack: Compiling.../, 1000))
64+
/webpack: bundle is now INVALID|webpack: Compiling.../, 5000))
6565
.then(() => waitForAnyProcessOutputToMatch(
6666
/webpack: bundle is now VALID|webpack: Compiled successfully./, 5000))
6767
// Count the bundles.

0 commit comments

Comments
 (0)