Skip to content

Commit

Permalink
Do not fail if tests leave SSSD passwd file open.
Browse files Browse the repository at this point in the history
This happens on the new (August 2016) NCSA LDAP infrastructure; it's triggered
by:

  from eups import Eups
  • Loading branch information
jdswinbank committed Aug 11, 2016
1 parent d9a52b7 commit 6579449
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/lsst/utils/tests.py
Expand Up @@ -177,7 +177,8 @@ def testFileDescriptorLeaks(self):
now_open = _get_open_files()

# Some files are opened out of the control of the stack.
now_open = set(f for f in now_open if not f.endswith(".car") and not f.endswith(".ttf"))
now_open = set(f for f in now_open if not f.endswith(".car") and not f.endswith(".ttf")
and f != "/var/lib/sss/mc/passwd")

diff = now_open.difference(open_files)
if diff:
Expand Down

0 comments on commit 6579449

Please sign in to comment.