[Pytest-commit] commit/pytest: hpk42: be more liberal with respect to lsof checks because jenkins keeps some files open
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Mon Jul 29 15:39:33 CEST 2013
1 new commit in pytest:
https://bitbucket.org/hpk42/pytest/commits/1530d0e3abf3/
Changeset: 1530d0e3abf3
User: hpk42
Date: 2013-07-29 15:39:24
Summary: be more liberal with respect to lsof checks because jenkins keeps some files open
Affected #: 1 file
diff -r 085883326638467e244499fb4c781452ad850548 -r 1530d0e3abf3e60a37cfc91aac47a5545a11628c testing/conftest.py
--- a/testing/conftest.py
+++ b/testing/conftest.py
@@ -36,7 +36,7 @@
def check_open_files(config):
out2 = py.process.cmdexec("lsof -p %d" % pid)
lines2 = getopenfiles(out2)
- if len(lines2) > config._numfiles + 1:
+ if len(lines2) > config._numfiles + 3:
error = []
error.append("***** %s FD leackage detected" %
(len(lines2)-config._numfiles))
Repository URL: https://bitbucket.org/hpk42/pytest/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the pytest-commit
mailing list