test: harden database qualification startup and cleanup evidence
MariaDB persistence qualification / mariadb (push) Failing after 7s
MariaDB persistence qualification / mariadb (push) Failing after 7s
This commit is contained in:
@@ -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') }]],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user