Skip to content

Commit 66b18dd

Browse files
committed
shorten ping for cluster tests
improves response time of stop/restart events
1 parent 9e1fe6d commit 66b18dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ipyparallel/tests/test_cluster.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def ClusterConstructor(**kwargs):
3939
cfg = kwargs.setdefault("config", Config())
4040
cfg.EngineMixin.engine_args = ['--log-level=10']
4141
cfg.ControllerMixin.controller_args = ['--log-level=10']
42+
kwargs.setdefault("controller_args", ['--ping=250'])
4243

4344
c = cluster.Cluster(**kwargs)
4445
request.addfinalizer(c.stop_cluster_sync)

0 commit comments

Comments
 (0)