Skip to content
Merged
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
6 changes: 4 additions & 2 deletions distributed/tests/test_nanny.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,10 @@ async def test_local_directory(s):
assert n.process.worker_dir.count("dask-scratch-space") == 1


@pytest.mark.skipif(WINDOWS, reason="Need POSIX filesystem permissions and UIDs")
@pytest.mark.skipif(os.getuid() == 0, reason="Must not be root")
@pytest.mark.skipif(
WINDOWS or os.getuid() == 0,
reason="Need POSIX filesystem permissions and UIDs and Must not be root",
)
@gen_cluster(nthreads=[])
async def test_unwriteable_dask_worker_space(s, tmp_path):
os.mkdir(f"{tmp_path}/dask-scratch-space", mode=0o500)
Expand Down
Loading