Skip to content

Commit 7040d28

Browse files
committed
increase timeouts in test_multikernelmanager, test_client
1 parent ff0e5e7 commit 7040d28

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from jupyter_client.manager import KernelManager, start_new_async_kernel, start_new_kernel
1616
from jupyter_client.threaded import ThreadedKernelClient, ThreadedZMQSocketChannel
1717

18-
TIMEOUT = 30
18+
TIMEOUT = 60
1919

2020
pjoin = os.path.join
2121

tests/test_multikernelmanager.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
skip_win32,
3030
)
3131

32-
TIMEOUT = 30
32+
TIMEOUT = 90
3333

3434
is_freethreaded = bool(sysconfig.get_config_var("Py_GIL_DISABLED"))
3535

@@ -43,12 +43,12 @@ async def now(awaitable):
4343

4444

4545
class TestKernelManager(TestCase):
46-
# static so picklable for multiprocessing on Windows
47-
4846
def tearDown(self):
4947
zmq.Context.instance().destroy(linger=0)
5048
return super().tearDown()
5149

50+
# static so picklable for multiprocessing on Windows
51+
5252
@staticmethod
5353
def _get_tcp_km():
5454
c = Config()

0 commit comments

Comments
 (0)