dask / dask/distributed

test_file_descriptors_dont_leak[Nanny] is broken on MacOSX

Open
#8,075 1 comment 0 reactions 0 assignees View on GitHub
bug tests
Dominant language
Python
Stars
1.7k
Forks
778
Avg merge
2h 50m
Merged PRs (30d)
3

Description

This test deterministically leaks a file descriptor on Mac, and on Mac only:

![image](https://github.com/dask/distributed/assets/6213168/123acb18-f320-4c2d-bee5-d2cdf83f5620)

https://github.com/dask/distributed/actions/runs/5758957886/job/15612271555

```python
while proc.num_fds() > before:
await asyncio.sleep(0.01)
> assert time() < start + 10, (before, proc.num_fds())
E AssertionError: (26, 27)
E assert 1691130527.5507462 < (1691130517.5493429 + 10)
E + where 1691130527.5507462 = time()
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.