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.

chore(test): trim redundant large-org case from web digest concurrency tests (#66372)

Georges-Antoine Assic673e4f27bbf
diff --git a/products/web_analytics/backend/test/test_digest_notification_workflows.py b/products/web_analytics/backend/test/test_digest_notification_workflows.py
index e0f20040bb4d..ec6705c86535 100644
--- a/products/web_analytics/backend/test/test_digest_notification_workflows.py
+++ b/products/web_analytics/backend/test/test_digest_notification_workflows.py
@@ -154,7 +154,7 @@ class _ConcurrencyTracker:
@pytest.mark.asyncio
[email protected]("org_count,batch_size,max_concurrent", [(50, 5, 4), (200, 25, 8)])
[email protected]("org_count,batch_size,max_concurrent", [(50, 5, 4)])
async def test_respects_concurrency_cap(org_count: int, batch_size: int, max_concurrent: int) -> None:
org_ids = [f"org-{i}" for i in range(org_count)]
expected_batches = [org_ids[i : i + batch_size] for i in range(0, org_count, batch_size)]
diff --git a/products/web_analytics/backend/test/test_weekly_digest_workflows.py b/products/web_analytics/backend/test/test_weekly_digest_workflows.py
index de61b43e5278..edc2b20f3f04 100644
--- a/products/web_analytics/backend/test/test_weekly_digest_workflows.py
+++ b/products/web_analytics/backend/test/test_weekly_digest_workflows.py
@@ -75,7 +75,7 @@ class _ConcurrencyTracker:
@pytest.mark.asyncio
[email protected]("org_count,batch_size,max_concurrent", [(50, 5, 4), (500, 25, 8)])
[email protected]("org_count,batch_size,max_concurrent", [(50, 5, 4)])
async def test_wa_weekly_digest_respects_concurrency_cap(org_count: int, batch_size: int, max_concurrent: int) -> None:
org_ids = [f"org-{i}" for i in range(org_count)]
expected_batches = [org_ids[i : i + batch_size] for i in range(0, org_count, batch_size)]