PYTHON-5325 - Decrease TestAsyncConcurrency.test_concurrency threshold (#2291)
This commit is contained in:
parent
4cac781530
commit
448c8e8326
@ -50,5 +50,5 @@ class TestAsyncConcurrency(AsyncIntegrationTest):
|
||||
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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user