Skip to content

Commit

Permalink
Add fixed base time to concurrency control tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hsahovic committed May 9, 2020
1 parent 4c1f81e commit f6e5e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration_tests/test_concurrency_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down

0 comments on commit f6e5e8d

Please sign in to comment.