File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5252ITEM_COUNT = 25
5353MASSIVE_ITEM_COUNT = 50
5454ITEM_SIZE_BYTES = 2 * 1024 * 1024
55+ MASSIVE_SCATTER_GATHER_MAX_PENDING_TASKS = 8
5556
5657
5758async def _create_and_commit_workflow (
@@ -414,6 +415,15 @@ async def test_scatter_gather_massive_payload_50x2mb_e2e(
414415 without hanging and with refs-only collection chunk layout.
415416 """
416417 _configure_storage_credentials (monkeypatch )
418+ monkeypatch .setenv (
419+ "TRACECAT__DSL_SCHEDULER_MAX_PENDING_TASKS" ,
420+ str (MASSIVE_SCATTER_GATHER_MAX_PENDING_TASKS ),
421+ )
422+ monkeypatch .setattr (
423+ config ,
424+ "TRACECAT__DSL_SCHEDULER_MAX_PENDING_TASKS" ,
425+ MASSIVE_SCATTER_GATHER_MAX_PENDING_TASKS ,
426+ )
417427 sentinel = f"__massive-scatter-gather-sentinel-{ uuid .uuid4 ().hex } __"
418428 items = _build_large_items (
419429 item_count = MASSIVE_ITEM_COUNT ,
You can’t perform that action at this time.
0 commit comments