Skip to content

Commit f07f863

Browse files
committed
Make signalkernel slow to start, to test slow-startup detection
1 parent fb23026 commit f07f863

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jupyter_client/tests/signalkernel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ def kernel_info_request(self, *args, **kwargs):
5656
5757
triggers slow-response code in KernelClient.wait_for_ready
5858
"""
59-
time.sleep(1)
6059
return super(SignalTestKernel, self).kernel_info_request(*args, **kwargs)
6160

6261
class SignalTestApp(IPKernelApp):
6362
kernel_class = SignalTestKernel
6463
def init_io(self):
6564
pass # disable stdout/stderr capture
66-
65+
6766
if __name__ == '__main__':
67+
time.sleep(2)
6868
SignalTestApp.launch_instance()

0 commit comments

Comments
 (0)