Open progier389 opened 3 weeks ago
Issue Description The test may fails because of timing issue
org.replace("seeAlso", "cn=1") E ldap.INSUFFICIENT_ACCESS: {'msgtype': 103, 'msgid': 3, 'result': 50, 'desc': 'Insufficient access', 'ctrls': [], 'info': "Insufficient 'write' privilege to the 'seeAlso' attribute of entry 'ou=timeofday,ou=keywords,dc=example,dc=com'.\n", 'ldap_request': "modify_ext_s(('ou=Timeofday,ou=Keywords,dc=example,dc=com', [(2, 'seeAlso', [b'cn=1'])]),{'serverctrls': None, 'clientctrls': None, 'escapehatch': 'i am sure'}) on instance standalone1"}
org.replace("seeAlso", "cn=1")
E ldap.INSUFFICIENT_ACCESS: {'msgtype': 103, 'msgid': 3, 'result': 50, 'desc': 'Insufficient access', 'ctrls': [], 'info': "Insufficient 'write' privilege to the 'seeAlso' attribute of entry 'ou=timeofday,ou=keywords,dc=example,dc=com'.\n", 'ldap_request': "modify_ext_s(('ou=Timeofday,ou=Keywords,dc=example,dc=com', [(2, 'seeAlso', [b'cn=1'])]),{'serverctrls': None, 'clientctrls': None, 'escapehatch': 'i am sure'}) on instance standalone1"}
IMHO this test should be done in a loop and the time should be checked after testing the access to verify it is still in the same minute.
Issue Description The test may fails because of timing issue
IMHO this test should be done in a loop and the time should be checked after testing the access to verify it is still in the same minute.