From 4c7ece2015566ecceb71bc6f37a4fb08fada7210 Mon Sep 17 00:00:00 2001 From: Noah Stapp Date: Wed, 16 Apr 2025 14:06:15 -0400 Subject: [PATCH] PYTHON-5325 - Decrease TestAsyncConcurrency.test_concurrency threshold --- test/asynchronous/test_concurrency.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/asynchronous/test_concurrency.py b/test/asynchronous/test_concurrency.py index 193ecf05c8..65ea90c03f 100644 --- a/test/asynchronous/test_concurrency.py +++ b/test/asynchronous/test_concurrency.py @@ -50,5 +50,5 @@ async def test_concurrency(self): concurrent_time = time.time() - start percent_faster = (sequential_time - concurrent_time) / concurrent_time * 100 - # We expect the concurrent tasks to be at least 75% faster on all platforms as a conservative benchmark - self.assertGreaterEqual(percent_faster, 75) + # We expect the concurrent tasks to be at least 50% faster on all platforms as a conservative benchmark + self.assertGreaterEqual(percent_faster, 50)