diff --git a/modules/angular2/test/web_workers/shared/message_bus_spec.ts b/modules/angular2/test/web_workers/shared/message_bus_spec.ts index 4ffc44553a..648b1f6a9c 100644 --- a/modules/angular2/test/web_workers/shared/message_bus_spec.ts +++ b/modules/angular2/test/web_workers/shared/message_bus_spec.ts @@ -110,7 +110,8 @@ export function main() { /** * Flushes pending messages and then runs the given function. */ - function flushMessages(fn: () => void) { TimerWrapper.setTimeout(fn, 10); } + // TODO(mlaval): timeout is fragile, test to be rewritten + function flushMessages(fn: () => void) { TimerWrapper.setTimeout(fn, 40); } beforeEach(() => { bus = createConnectedMessageBus(); });