From f6e5e8dc5a2268d0ab990fcd2124426e4adb1750 Mon Sep 17 00:00:00 2001 From: hsahovic Date: Sat, 9 May 2020 05:59:37 -0400 Subject: [PATCH] Add fixed base time to concurrency control tests --- integration_tests/test_concurrency_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration_tests/test_concurrency_control.py b/integration_tests/test_concurrency_control.py index 367b6ce9c..4e2f5e104 100644 --- a/integration_tests/test_concurrency_control.py +++ b/integration_tests/test_concurrency_control.py @@ -50,7 +50,7 @@ async def test_max_concurrent_battle_works(): for max_battles in [1, 3, 5]: result = await asyncio.wait_for( simple_cross_evaluation(7 * max_battles, max_battles), - timeout=5 * max_battles, + timeout=5 * max_battles + 5, ) times_per_battle = {}