Univention Bugzilla – Bug 39103
Mail tests fail in S4 environments
Last modified: 2023-03-25 06:50:06 CET
Created attachment 7086 [details] mail_issues.patch The mail test cases 40_mail/* fail in S4 environment. The test cases have to wait for the DRS replication otherwise the users are not available via Kerberos. The attached patch should fix it for 06imap_login.
Commit 62799 adds waiting for DRS replication upon creation, modification or renaming of users and groups.
Much better, but; root@master090:~# dpkg -l univention-samba4 [...] un univention-samba4 <keine> (keine Beschreibung vorhanden) root@master090:~# python Python 2.7.3 (default, Jul 2 2014, 15:00:03) [GCC 4.7.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import univention.testing.utils >>> univention.testing.utils.package_installed('univention-samba4') univention-samba4 True >>> So, I think we should adjust package_installed as well.
(In reply to Stefan Gohmann from comment #2) > Much better, but; > > root@master090:~# dpkg -l univention-samba4 > [...] > un univention-samba4 <keine> (keine Beschreibung vorhanden) > root@master090:~# python > Python 2.7.3 (default, Jul 2 2014, 15:00:03) > [GCC 4.7.2] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import univention.testing.utils > >>> univention.testing.utils.package_installed('univention-samba4') > univention-samba4 > True > >>> > > So, I think we should adjust package_installed as well. → Bug #39114
(In reply to Daniel Tröder from comment #1) > Commit 62799 adds waiting for DRS replication upon creation, modification or > renaming of users and groups. * In some tests the s4 connector is stopped thus the drs replication won't finish. I've added a check_fro_drs_replication parameter to the udm calls and it is set by default to True in create_user and create_group (Bug #39103) → r62822 + r62823 + r62823
For this bug is no separate QA needed.