ci: Fix timing issue (#17984)

This commit is contained in:
shortstacked 2025-08-05 09:57:48 +01:00 committed by GitHub
parent 0fffb807ee
commit aef65fcecb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,7 +34,8 @@ async function globalSetup() {
}
console.log(`🔄 Resetting database for ${n8nBaseUrl}...`);
// Quick hack till we find out a better health check for the database reset command!
await new Promise((resolve) => setTimeout(resolve, 3000));
// Create standalone API request context
const requestContext = await request.newContext({
baseURL: n8nBaseUrl,