Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(test): Increase waitForExpect timeout or add FINAL (#71566)

mendral-app[bot]840436f36e33
diff --git a/nodejs/src/cdp/rerun/rerun-paginator.service.test.ts b/nodejs/src/cdp/rerun/rerun-paginator.service.test.ts
index 79be227ea0b5..91095204ce27 100644
--- a/nodejs/src/cdp/rerun/rerun-paginator.service.test.ts
+++ b/nodejs/src/cdp/rerun/rerun-paginator.service.test.ts
@@ -42,7 +42,7 @@ const ActualKafkaProducerWrapper = jest.requireActual('~/common/kafka/producer')
* collapse query all line up.
*/
describe('RerunPaginatorService integration', () => {
- jest.setTimeout(60_000)
+ jest.setTimeout(180_000)
let hub: Hub
let kafkaProducer: KafkaProducerWrapper
@@ -125,7 +125,7 @@ describe('RerunPaginatorService integration', () => {
AND function_id = '${hogFunction.id}'`
)
expect(Number(got[0]?.c ?? 0)).toBeGreaterThanOrEqual(expected)
- }, 30_000)
+ }, 90_000)
}
// Produce a raw lifecycle row with a chosen (here: undecodable) invocation_globals,
@@ -171,7 +171,7 @@ describe('RerunPaginatorService integration', () => {
WHERE team_id = ${team.id} AND invocation_id = '${invocationId}'`
)
expect(Number(got[0]?.c ?? 0)).toBeGreaterThanOrEqual(1)
- }, 30_000)
+ }, 90_000)
}
beforeAll(async () => {