File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 17
17
18
18
import os
19
19
import sys
20
- import threading
21
20
import time
22
21
import unittest
23
22
import warnings
@@ -799,7 +798,7 @@ async def test_1_2_callback_is_called_once_for_multiple_connections(self):
799
798
client = await self .create_client ()
800
799
await client .aconnect ()
801
800
802
- # Start 10 threads and run 100 find operations in each thread that all succeed.
801
+ # Start 10 tasks and run 100 find operations that all succeed in each task .
803
802
async def target ():
804
803
for _ in range (100 ):
805
804
await client .test .test .find_one ()
Original file line number Diff line number Diff line change 17
17
18
18
import os
19
19
import sys
20
- import threading
21
20
import time
22
21
import unittest
23
22
import warnings
@@ -797,7 +796,7 @@ def test_1_2_callback_is_called_once_for_multiple_connections(self):
797
796
client = self .create_client ()
798
797
client ._connect ()
799
798
800
- # Start 10 threads and run 100 find operations in each thread that all succeed.
799
+ # Start 10 tasks and run 100 find operations that all succeed in each task .
801
800
def target ():
802
801
for _ in range (100 ):
803
802
client .test .test .find_one ()
You can’t perform that action at this time.
0 commit comments