Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gpuCI] Forward-merge branch-22.06 to branch-22.08 [skip gpuci] #917

Merged
merged 1 commit into from
May 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion dask_cuda/tests/test_dask_cuda_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ def test_pre_import(loop): # noqa: F811
assert all(imported)


@pytest.mark.xfail(reason="https://github.com/dask/distributed/issues/6320")
@pytest.mark.timeout(20)
@patch.dict(os.environ, {"CUDA_VISIBLE_DEVICES": "0"})
def test_pre_import_not_found():
Expand Down
4 changes: 2 additions & 2 deletions dask_cuda/tests/test_local_cuda_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from dask.distributed import Client
from distributed.system import MEMORY_LIMIT
from distributed.utils_test import gen_test
from distributed.utils_test import gen_test, raises_with_cause

from dask_cuda import CUDAWorker, LocalCUDACluster, utils
from dask_cuda.initialize import initialize
Expand Down Expand Up @@ -243,7 +243,7 @@ async def test_pre_import():

# Intentionally not using @gen_test to skip cleanup checks
async def test_pre_import_not_found():
with pytest.raises(ModuleNotFoundError):
with raises_with_cause(RuntimeError, None, ImportError, None):
await LocalCUDACluster(
n_workers=1,
pre_import="my_module",
Expand Down