[krbdev.mit.edu #7977] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Wed Aug 6 17:16:21 EDT 2014


Fix KDC race in t_unlockiter.py

The second KDC startup in t_unlockiter.py could race with the
garbage-collected shutdown of the first, causing the second one to
fail to bind the listening port.  Avoid the situation by setting
start_kdc=False, because there doesn't need to be a KDC running for
these tests anyway.  Also use create_user=False and create_host=False,
because those principals aren't necessary either.

https://github.com/krb5/krb5/commit/9831cb6930e40af1240ee67eef31c83ecadcce5c
Author: Tom Yu <tlyu at mit.edu>
Commit: 9831cb6930e40af1240ee67eef31c83ecadcce5c
Branch: master
 src/tests/t_unlockiter.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)



More information about the krb5-bugs mailing list