Skip to content

Commit ed679fc

Browse files
authored
disabling fd leakchecker test (pytorch#1593)
1 parent e6c9509 commit ed679fc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/test_multiprocessing.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,10 @@ def __exit__(self, *args):
112112
# test is no more than 4 higher than the 10th available at the
113113
# start. This attempts to catch file descriptor leaks, but allows
114114
# one-off initialization that may use up a file descriptor
115-
available_fds = self._get_next_fds(10)
116-
self.test_case.assertLessEqual(
117-
available_fds[-1] - self.next_fds[-1], 5)
115+
# TODO: Disabled because this check is too flaky
116+
# available_fds = self._get_next_fds(10)
117+
# self.test_case.assertLessEqual(
118+
# available_fds[-1] - self.next_fds[-1], 5)
118119
self.test_case.assertFalse(self.has_shm_files())
119120
return False
120121

0 commit comments

Comments
 (0)