Skip to content

Commit c75a48d

Browse files
committed
test(@angular-devkit/build-angular): increase rebuild debounce times
CI performance variability can cause test flakes in rebuild tests due to the rebuilds taking longer than expected. This change increases the 500ms debounce time for the web worker rebuild tests to 1000ms to mitigate these issues.
1 parent bcb41e3 commit c75a48d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular_devkit/build_angular/src/browser/specs/web-worker_spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ describe('Browser Builder Web Worker support', () => {
147147
const { run } = await timer(1000).pipe(
148148
switchMap(() => architect.scheduleTarget(target, overrides)),
149149
switchMap(run => run.output.pipe(map(output => ({ run, output })))),
150-
debounceTime(500),
150+
debounceTime(1000),
151151
tap(({ output }) => expect(output.success).toBe(true, 'build should succeed')),
152152
tap(() => {
153153
switch (phase) {

0 commit comments

Comments
 (0)