Skip to content

Commit 448c8e8

Browse files
authored
PYTHON-5325 - Decrease TestAsyncConcurrency.test_concurrency threshold (#2291)
1 parent 4cac781 commit 448c8e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/asynchronous/test_concurrency.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ async def test_concurrency(self):
5050
concurrent_time = time.time() - start
5151

5252
percent_faster = (sequential_time - concurrent_time) / concurrent_time * 100
53-
# We expect the concurrent tasks to be at least 75% faster on all platforms as a conservative benchmark
54-
self.assertGreaterEqual(percent_faster, 75)
53+
# We expect the concurrent tasks to be at least 50% faster on all platforms as a conservative benchmark
54+
self.assertGreaterEqual(percent_faster, 50)

0 commit comments

Comments
 (0)