From b7e4656c91d92efddef84683ab8415981c59ffa1 Mon Sep 17 00:00:00 2001 From: Nuno Campos Date: Wed, 15 Jan 2025 08:45:35 -0800 Subject: [PATCH] Fix flaky test output order --- libs/langgraph/tests/test_pregel_async.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/langgraph/tests/test_pregel_async.py b/libs/langgraph/tests/test_pregel_async.py index 3945918b0..26352e545 100644 --- a/libs/langgraph/tests/test_pregel_async.py +++ b/libs/langgraph/tests/test_pregel_async.py @@ -2456,6 +2456,7 @@ async def test_imp_task(checkpointer_name: str) -> None: async def mapper(input: int) -> str: nonlocal mapper_calls mapper_calls += 1 + await asyncio.sleep(0.1 * input) return str(input) * 2 @entrypoint(checkpointer=checkpointer)