diff --git a/distributed/tests/test_jupyter.py b/distributed/tests/test_jupyter.py index 1d195494c6..ca25310105 100644 --- a/distributed/tests/test_jupyter.py +++ b/distributed/tests/test_jupyter.py @@ -56,7 +56,6 @@ def test_jupyter_cli(loop): "--host", f"127.0.0.1:{port}", ], - capture_output=True, ): with Client(f"127.0.0.1:{port}", loop=loop): response = requests.get("http://127.0.0.1:8787/jupyter/api/status") diff --git a/distributed/utils_test.py b/distributed/utils_test.py index 334f1eced4..30bb383403 100644 --- a/distributed/utils_test.py +++ b/distributed/utils_test.py @@ -1138,8 +1138,8 @@ def _terminate_process(proc: subprocess.Popen, terminate_timeout: float) -> None def popen( args: list[str], capture_output: bool = False, - terminate_timeout: float = 30, - kill_timeout: float = 10, + terminate_timeout: float = 10, + kill_timeout: float = 5, **kwargs: Any, ) -> Iterator[subprocess.Popen[bytes]]: """Start a shell command in a subprocess.