Skip to content

CI test acl/ test_timeofday_keyword sometime fails #6222

Open
@progier389

Description

@progier389

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"}

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CI testInvolves lib389 CI test

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions