make a few unit tests quicker by polling more aggressively on results

pull/1277/head
Audric Ackermann 5 years ago
parent cd516aab64
commit 8105f0647a
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -52,7 +52,7 @@ export async function poll(
): Promise<void> { ): Promise<void> {
const defaults: PollOptions = { const defaults: PollOptions = {
timeout: 2000, timeout: 2000,
interval: 1000, interval: 100,
}; };
const { timeout, interval } = { const { timeout, interval } = {
@ -113,6 +113,7 @@ export async function waitUntil(
}, },
{ {
timeout, timeout,
interval: timeout / 20,
} }
); );
} }

Loading…
Cancel
Save