Skip to content

Commit 9107bda

Browse files
committed
Disable test on SSL until PYTHON-4636 fixes async performance
1 parent a2e6764 commit 9107bda

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/asynchronous/test_concurrency.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
import asyncio
1919
import time
20-
from test.asynchronous import AsyncIntegrationTest
20+
from test.asynchronous import AsyncIntegrationTest, async_client_context
2121
from test.utils import delay
2222

2323
_IS_SYNC = False
@@ -27,11 +27,13 @@ class TestAsyncConcurrency(AsyncIntegrationTest):
2727
async def _task(self, client):
2828
await client.db.test.find_one({"$where": delay(1)})
2929

30+
# Remove once PYTHON-4636 is merged
31+
@async_client_context.require_no_tls
3032
async def test_concurrency(self):
3133
tasks = []
3234
iterations = 5
3335

34-
client = self.simple_client()
36+
client = await self.async_single_client()
3537
await client.db.test.drop()
3638
await client.db.test.insert_one({"x": 1})
3739

0 commit comments

Comments
 (0)