URL: https://github.com/SSSD/sssd/pull/947 Title: #947: tests: fix race conditions in integration tests
sumit-bose commented: """ Hi, about the race between adding e.g. the user to /etc/passwd and getting inotify processed. Isn't this similar to why calling `sss_cache` was added `useradd` and other utilities from the shadow-utils package? Have you tried if instead of increasing the delay calling `sss_cache -E` would work as well? If I see it correctly the test just adds a new line to /etc/passwd and then tries to lookup the freshly added user. I think whenever a cache is added in between this use case can only be covered if the cache is explicitly invalidated after adding the new line (shadow-utils is also calling `nscd -i ...` is `nscd` is used). Using inotify helps if invalidating the cache was forgotten but it is only best effort. bye, Sumit """ See the full comment at https://github.com/SSSD/sssd/pull/947#issuecomment-561611980
_______________________________________________ sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org