Skip to content

Commit

Permalink
Use IncreasedCloseTimeoutNanny for test_explicit_comms
Browse files Browse the repository at this point in the history
  • Loading branch information
pentschev committed Oct 12, 2023
1 parent c068e21 commit 4424ec9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dask_cuda/tests/test_explicit_comms.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import dask_cuda
from dask_cuda.explicit_comms import comms
from dask_cuda.explicit_comms.dataframe.shuffle import shuffle as explicit_comms_shuffle
from dask_cuda.local_cuda_cluster import IncreasedCloseTimeoutNanny

mp = mp.get_context("spawn") # type: ignore
ucp = pytest.importorskip("ucp")
Expand All @@ -35,6 +36,7 @@ def _test_local_cluster(protocol):
dashboard_address=None,
n_workers=4,
threads_per_worker=1,
worker_class=IncreasedCloseTimeoutNanny,
processes=True,
) as cluster:
with Client(cluster) as client:
Expand All @@ -56,6 +58,7 @@ def _test_dataframe_merge_empty_partitions(nrows, npartitions):
dashboard_address=None,
n_workers=npartitions,
threads_per_worker=1,
worker_class=IncreasedCloseTimeoutNanny,
processes=True,
) as cluster:
with Client(cluster):
Expand Down Expand Up @@ -102,6 +105,7 @@ def _test_dataframe_shuffle(backend, protocol, n_workers, _partitions):
dashboard_address=None,
n_workers=n_workers,
threads_per_worker=1,
worker_class=IncreasedCloseTimeoutNanny,
processes=True,
) as cluster:
with Client(cluster) as client:
Expand Down Expand Up @@ -204,6 +208,7 @@ def check_shuffle():
dashboard_address=None,
n_workers=2,
threads_per_worker=1,
worker_class=IncreasedCloseTimeoutNanny,
processes=True,
) as cluster:
with Client(cluster):
Expand All @@ -221,6 +226,7 @@ def _test_dataframe_shuffle_merge(backend, protocol, n_workers):
dashboard_address=None,
n_workers=n_workers,
threads_per_worker=1,
worker_class=IncreasedCloseTimeoutNanny,
processes=True,
) as cluster:
with Client(cluster):
Expand Down Expand Up @@ -327,6 +333,7 @@ def test_lock_workers():
dashboard_address=None,
n_workers=4,
threads_per_worker=5,
worker_class=IncreasedCloseTimeoutNanny,
processes=True,
) as cluster:
ps = []
Expand Down

0 comments on commit 4424ec9

Please sign in to comment.