Skip to content

Commit 9903ffa

Browse files
committed
Cleanup tests 3
1 parent 0580666 commit 9903ffa

File tree

1 file changed

+5
-5
lines changed
  • libs/langgraph-checkpoint-aws/tests/unit_tests/agentcore

1 file changed

+5
-5
lines changed

libs/langgraph-checkpoint-aws/tests/unit_tests/agentcore/test_saver.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@
3232
)
3333
from langgraph_checkpoint_aws.agentcore.saver import AgentCoreMemorySaver
3434

35-
# Configure pytest to use anyio for async tests (asyncio backend only)
35+
# Configure pytest to use anyio for async tests
3636
pytestmark = pytest.mark.anyio
3737

3838
# Test constants for async testing
39-
N_ASYNC_CALLS = 10
40-
MOCK_SLEEP_DURATION = 0.5 / N_ASYNC_CALLS
41-
OVERHEAD_RUNNER_TIME = 0.05
42-
TOTAL_EXPECTED_TIME = MOCK_SLEEP_DURATION + OVERHEAD_RUNNER_TIME
39+
N_ASYNC_CALLS = 5
40+
MOCK_SLEEP_DURATION = 0.1 / N_ASYNC_CALLS
41+
OVERHEAD_DURATION = 0.01
42+
TOTAL_EXPECTED_TIME = MOCK_SLEEP_DURATION + OVERHEAD_DURATION
4343

4444

4545
@pytest.fixture

0 commit comments

Comments
 (0)