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> {
const defaults: PollOptions = {
timeout: 2000,
interval: 1000,
interval: 100,
};
const { timeout, interval } = {
@ -113,6 +113,7 @@ export async function waitUntil(
},
{
timeout,
interval: timeout / 20,
}
);
}

Loading…
Cancel
Save