From 47008cb5ac1d5dbc869c2c81b49ffe2fb5f47092 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Tue, 30 Sep 2025 01:02:29 +0200 Subject: [PATCH] try to avoid recent test flakes --- test/integration/live-api.test.ts | 4 ++-- test/tunnel.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/live-api.test.ts b/test/integration/live-api.test.ts index 14dbde29..817d41d3 100644 --- a/test/integration/live-api.test.ts +++ b/test/integration/live-api.test.ts @@ -170,7 +170,7 @@ async function createVirtualTestServer(handler: RequestListener): Promise { +describe('API integration', { timeout: 60000, retry: 1 }, () => { describe('assembly creation', () => { it('should create a retrievable assembly on the server', async () => { const client = createClient() @@ -586,7 +586,7 @@ describe('API integration', { timeout: 60000 }, () => { }) }) - describe('assembly notification', { retry: 2 }, () => { + describe('assembly notification', () => { type OnNotification = (params: { path?: string client: Transloadit diff --git a/test/tunnel.ts b/test/tunnel.ts index b24849b9..b52f1e0a 100644 --- a/test/tunnel.ts +++ b/test/tunnel.ts @@ -123,7 +123,7 @@ export interface CreateTunnelResult { export async function createTunnel({ cloudFlaredPath = 'cloudflared', port }: CreateTunnelParams) { const { process, url } = await pRetry(async () => startTunnel({ cloudFlaredPath, port }), { - retries: 1, + retries: 2, }) async function close() {