test: harden database qualification startup and cleanup evidence
MariaDB persistence qualification / mariadb (push) Failing after 7s

This commit is contained in:
cesnimda
2026-10-24 14:04:57 +02:00
parent 2b26953d6f
commit 5ac11549b2
16 changed files with 228 additions and 15 deletions
@@ -8,7 +8,10 @@ if (process.env.PLAYWRIGHT_STATIC_EXPORT !== 'true' || process.env.PLAYWRIGHT_PR
}
const artifacts = path.resolve('../.artifacts/p9-requal-01/performance');
const cwd = path.resolve(__dirname, '../../../../../job-tracker-ui');
const servers = Array.isArray(base.webServer) ? base.webServer : [base.webServer!];
export default defineConfig({ ...base, testDir: '.', testMatch: 'sustained.spec.ts', workers: 1, retries: 0,
webServer: servers.map(server => ({ ...server, cwd })),
timeout: 18 * 60 * 1000, outputDir: path.join(artifacts, 'test-results'),
reporter: [['list'], ['json', { outputFile: path.join(artifacts, 'playwright-results.json') }]],
});