From: Jérôme Benoit Date: Mon, 23 Feb 2026 02:03:08 +0000 (+0100) Subject: test: add retry for flaky tests on CI X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=c218777649840d60911d08d3acc387bd3c27cd0b;p=poolifier.git test: add retry for flaky tests on CI --- diff --git a/vitest.config.ts b/vitest.config.ts index 7b5048802..98c8fa0ed 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -16,6 +16,7 @@ export default defineConfig({ hookTimeout: 240000, include: ['tests/**/*.test.mjs'], pool: 'forks', + retry: 2, setupFiles: ['./tests/vitest.setup.mjs'], testTimeout: 240000, },