Skip to content

Commit 08f0a83

Browse files
authored
try to avoid recent test flakes (#259)
1 parent c341ac2 commit 08f0a83

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/integration/live-api.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ async function createVirtualTestServer(handler: RequestListener): Promise<Virtua
170170
}
171171
}
172172

173-
describe('API integration', { timeout: 60000 }, () => {
173+
describe('API integration', { timeout: 60000, retry: 1 }, () => {
174174
describe('assembly creation', () => {
175175
it('should create a retrievable assembly on the server', async () => {
176176
const client = createClient()
@@ -586,7 +586,7 @@ describe('API integration', { timeout: 60000 }, () => {
586586
})
587587
})
588588

589-
describe('assembly notification', { retry: 2 }, () => {
589+
describe('assembly notification', () => {
590590
type OnNotification = (params: {
591591
path?: string
592592
client: Transloadit

test/tunnel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export interface CreateTunnelResult {
123123

124124
export async function createTunnel({ cloudFlaredPath = 'cloudflared', port }: CreateTunnelParams) {
125125
const { process, url } = await pRetry(async () => startTunnel({ cloudFlaredPath, port }), {
126-
retries: 1,
126+
retries: 2,
127127
})
128128

129129
async function close() {

0 commit comments

Comments
 (0)