test: increse retries for dev tests (#4182)

This commit is contained in:
Anthony Fu 2022-04-08 05:49:43 +08:00 committed by GitHub
parent 8874728842
commit 47b7e5cd94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ export async function startServer () {
NODE_ENV: 'development' NODE_ENV: 'development'
} }
}) })
await waitForPort(port, { retries: 16 }) await waitForPort(port, { retries: 32 })
for (let i = 0; i < 50; i++) { for (let i = 0; i < 50; i++) {
await new Promise(resolve => setTimeout(resolve, 100)) await new Promise(resolve => setTimeout(resolve, 100))
try { try {