Skip to content

Commit

Permalink
Increase timeout to 30 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
robbie-c committed Aug 25, 2024
1 parent 13630aa commit 0252a45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testcafe/check-testcafe-results.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ async function main() {
log(`
Waiting for events from tests to appear in PostHog.
You can manually confirm whether the events have shown up at https://us.posthog.com/project/${POSTHOG_API_PROJECT}/activity/explore
If they seem to be failing unexpectedly, check grafana for ingestion lag at https://grafana.prod-us.posthog.dev/d/homepage/homepage
`)
// each test will put a results.json file in this folder, so let's list all the files in this folder
const files = getResultsJsonFiles()
Expand All @@ -46,7 +47,7 @@ You can manually confirm whether the events have shown up at https://us.posthog.
log(JSON.stringify(files, null, 2))

// the deadline is the same for each assert, as the ingestion lag will be happening in parallel
const deadline = Date.now() + 1000 * 60 * 20 // 20 minutes
const deadline = Date.now() + 1000 * 60 * 30 // 30 minutes

for (const file of files) {
const testSessionId = file.testSessionId
Expand Down

0 comments on commit 0252a45

Please sign in to comment.