This is an automated email from the git hooks/post-receive script.
mreynolds pushed a commit to branch master
in repository 389-ds-base.
commit d74ba635eb5202ba74b2c971a124be15d76f0480
Author: Mark Reynolds <mreynolds@redhat.com>
Date: Thu Jun 1 16:05:51 2017 -0400
Ticket 49008 - Adjust CI test for new memberOf behavior
Bug Description: In the current version the MO plugin now adds a valid
objectclass to an entry. This breaks the test design
as some operations were expected to fail, but now they
pass.
Fix Description: Set the auto add objectclass to an objectclass that
does not allow memberOf. This now allows the test
work as designed.
https://pagure.io/389-ds-base/issue/49008
Reviewed by: firstyear(Thanks!)
---
dirsrvtests/tests/tickets/ticket49008_test.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/dirsrvtests/tests/tickets/ticket49008_test.py b/dirsrvtests/tests/tickets/ticket49008_test.py
index 673b2f9..332cf22 100644
--- a/dirsrvtests/tests/tickets/ticket49008_test.py
+++ b/dirsrvtests/tests/tickets/ticket49008_test.py
@@ -32,7 +32,12 @@ def test_ticket49008(T):
A.agreement.pause(AtoC)
C.agreement.pause(CtoA)
+ # Enable memberOf on Master B
B.plugins.enable(name=PLUGIN_MEMBER_OF)
+
+ # Set the auto OC to an objectclass that does NOT allow memberOf
+ B.modify_s('cn=MemberOf Plugin,cn=plugins,cn=config',
+ [(ldap.MOD_REPLACE, 'memberofAutoAddOC', 'referral')])
B.restart(timeout=10)
# add a few entries allowing memberof
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
389-commits mailing list -- 389-commits@lists.fedoraproject.org
To unsubscribe send an email to 389-commits-leave@lists.fedoraproject.org
No comments:
Post a Comment