mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-05 00:09:35 +00:00
test(web): retry a failed vitest test once in CI
This commit is contained in:
@@ -56,6 +56,8 @@ export default mergeConfig(
|
||||
include: ["src/**/*.spec.{ts,js,vue}"],
|
||||
root: fileURLToPath(new URL('.', import.meta.url)),
|
||||
setupFiles: ['src/test/unit/helpers/setupTests.ts'],
|
||||
// One CI retry absorbs timing flakes that otherwise eject the merge queue; local runs still fail fast.
|
||||
retry: process.env.CI ? 1 : 0,
|
||||
// The suite must not depend on WHERE it runs.
|
||||
//
|
||||
// Much of what we format is local-time by design — a "last triggered at"
|
||||
|
||||
Reference in New Issue
Block a user