forked from OSchip/llvm-project
Correct failure decorator in test_fd_leak_multitarget
The random module in Python 2.7.8 and later leaks /dev/[u]random into children. The test is expected to fail, not be flakey. This will be fixed in Python 2.7.10 for some operating systems, but not all e.g. OS X 10.4. llvm.org/pr23983 bugs.freebsd.org/197376 bugs.python.org/issue23458 llvm-svn: 240958
This commit is contained in:
parent
a081002bdd
commit
bcc976a443
|
@ -41,7 +41,7 @@ class AvoidsFdLeakTestCase(TestBase):
|
|||
self.assertTrue(process.GetExitStatus() == 0,
|
||||
"Process returned non-zero status. Were incorrect file descriptors passed?")
|
||||
|
||||
@expectedFlakey(lambda x: sys.version_info >= (2, 7, 8), "bugs.freebsd.org/197376") # python random leaks fd
|
||||
@expectedFailure(lambda x: sys.version_info >= (2, 7, 8), "bugs.freebsd.org/197376") # python random leaks fd
|
||||
@expectedFlakeyLinux
|
||||
@skipIfWindows # The check for descriptor leakage needs to be implemented differently here.
|
||||
@skipIfTargetAndroid() # Android have some other file descriptors open by the shell
|
||||
|
|
Loading…
Reference in New Issue