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 test timeout budget (#73639)

mendral-app[bot]98a7ba67bba3
diff --git a/products/analytics_platform/backend/lazy_computation/tests/test_lazy_computation_executor.py b/products/analytics_platform/backend/lazy_computation/tests/test_lazy_computation_executor.py
index 1cf0a7242728..a2268c9259d3 100644
--- a/products/analytics_platform/backend/lazy_computation/tests/test_lazy_computation_executor.py
+++ b/products/analytics_platform/backend/lazy_computation/tests/test_lazy_computation_executor.py
@@ -3037,10 +3037,10 @@ class TestExecuteOOMAndBudget(ClickhouseTestMixin, BaseTest):
def slow_insert(_t, job) -> None:
calls.append(job.id)
- time_mod.sleep(0.02)
+ time_mod.sleep(0.1)
schedule = TtlSchedule(rules=[], default_ttl_seconds=3600, max_window_days=1)
- result = LazyComputationExecutor(wait_timeout_seconds=0.01, ttl_schedule=schedule).execute(
+ result = LazyComputationExecutor(wait_timeout_seconds=0.5, ttl_schedule=schedule).execute(
team=self.team,
query_info=self._query_info(),
start=datetime(2024, 1, 1, tzinfo=UTC),