test: retry installation tests up to 3 times (#32910)

Installation tests can fail due to e.g. network issues. Lets align with
library tests and retry up to 3 times.
This commit is contained in:
Max Schmitt 2024-10-01 22:12:38 +02:00 committed by GitHub
parent 228eb141db
commit c84305ed73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ export default defineConfig({
outputDir,
testIgnore: '**\/fixture-scripts/**',
timeout: 5 * 60 * 1000,
retries: 0,
retries: process.env.CI ? 3 : 0,
reporter: reporters(),
forbidOnly: !!process.env.CI,
workers: 1,