Retry evals on API error. (#23322)

This commit is contained in:
Christian Gunderman
2026-03-21 02:52:19 +00:00
committed by GitHub
parent 244a608186
commit 28935d1e6b
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -16,6 +16,10 @@ export default defineConfig({
},
test: {
testTimeout: 300000, // 5 minutes
// Retry in CI but not nightly to avoid blocking on API error.
retry: process.env['VITEST_RETRY']
? parseInt(process.env['VITEST_RETRY'], 10)
: 3,
reporters: ['default', 'json'],
outputFile: {
json: 'evals/logs/report.json',