diff --git a/tests/_test_process_executor.py b/tests/_test_process_executor.py index 7e8616d5..85c43f0c 100644 --- a/tests/_test_process_executor.py +++ b/tests/_test_process_executor.py @@ -1046,7 +1046,7 @@ def _worker_rank(x): return dict(pid=os.getpid(), rank=rank, world=world) @pytest.mark.parametrize('max_workers', [1, 5, 13]) - @pytest.mark.parametrize('timeout', [None, 0.01, 0]) + @pytest.mark.parametrize('timeout', [None, 0.01]) def test_workers_rank(self, max_workers, timeout): executor = self.executor_type(max_workers, timeout=timeout) results = executor.map(self._worker_rank, range(max_workers * 5)) diff --git a/tests/test_reusable_executor.py b/tests/test_reusable_executor.py index 0b7df342..f6f5187a 100644 --- a/tests/test_reusable_executor.py +++ b/tests/test_reusable_executor.py @@ -585,7 +585,7 @@ def _worker_rank(x): rank, world = get_worker_rank() return dict(pid=os.getpid(), rank=rank, world=world) - @pytest.mark.parametrize('timeout', [10, 0]) + @pytest.mark.parametrize('timeout', [10, 0.01]) def test_workers_rank_resize(self, timeout): executor = get_reusable_executor(max_workers=2, timeout=timeout)