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(batch-exports): reduce azure workflow test matrix (#111938)

Paul D'Ambra079a1950764d
diff --git a/products/batch_exports/backend/tests/temporal/destinations/azure_blob/test_workflow_execution.py b/products/batch_exports/backend/tests/temporal/destinations/azure_blob/test_workflow_execution.py
index 2531e9b69841..4b7046d70efe 100644
--- a/products/batch_exports/backend/tests/temporal/destinations/azure_blob/test_workflow_execution.py
+++ b/products/batch_exports/backend/tests/temporal/destinations/azure_blob/test_workflow_execution.py
@@ -12,9 +12,19 @@ from products.batch_exports.backend.tests.temporal.destinations.azure_blob.utils
pytestmark = [pytest.mark.asyncio, pytest.mark.django_db]
[email protected]("interval", ["hour", "day"], indirect=True)
[email protected](("file_format", "compression"), SUPPORTED_FILE_FORMAT_COMPRESSIONS, indirect=True)
[email protected]("model", TEST_AZURE_BLOB_MODELS)
+ ("model", "file_format", "compression", "interval"),
+ [
+ (model, file_format, compression, "hour")
+ for model in TEST_AZURE_BLOB_MODELS
+ for file_format, compression in SUPPORTED_FILE_FORMAT_COMPRESSIONS
+ ]
+ + [
+ (TEST_AZURE_BLOB_MODELS[index % len(TEST_AZURE_BLOB_MODELS)], file_format, compression, "day")
+ for index, (file_format, compression) in enumerate(SUPPORTED_FILE_FORMAT_COMPRESSIONS)
+ ],
+ indirect=["file_format", "compression", "interval"],
+)
async def test_workflow_exports_model_successfully(
ateam,
azure_batch_export,