mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

el_kaboing
23.48.2007 7d1dc50106c14d1063ba774f3d8d6b542f689948
This is a workaround for Issue 1433. The daily functional tests on the nightly builds should now work until Issue 1433 is resolved.
1 files added
1 files modified
47 ■■■■■ changed files
opends/tests/functional-tests/shared/data/quickstart/add_aci_workaround.ldif 30 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/quickstart/quickstart.xml 17 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/shared/data/quickstart/add_aci_workaround.ldif
New file
@@ -0,0 +1,30 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License").  You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at
# trunk/opends/resource/legal-notices/OpenDS.LICENSE
# or https://OpenDS.dev.java.net/OpenDS.LICENSE.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at
# trunk/opends/resource/legal-notices/OpenDS.LICENSE.  If applicable,
# add the following below this CDDL HEADER, with the fields enclosed
# by brackets "[]" replaced with your own identifying information:
#      Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#      Portions Copyright 2007 Sun Microsystems, Inc.
#
dn: cn=Access Control Handler,cn=config
changetype: modify
add: ds-cfg-global-aci
ds-cfg-global-aci: (targetattr="pwdChangedTime")(version 3.0; acl "Self entry modification Workaround for Issue 1433"; allow (write) userdn="ldap:///self";)
opends/tests/functional-tests/testcases/quickstart/quickstart.xml
@@ -74,6 +74,23 @@
                'result'     : STAXResult }
          </call>
          
          <message>
             'Quickstart: Adding ACI that is a workaround for Issue 1433'
          </message>
          <call function="'addEntry'">
            { 'dsInstanceHost'   : DIRECTORY_INSTANCE_HOST ,
              'dsInstancePort'   : DIRECTORY_INSTANCE_PORT ,
              'dsInstanceDn'     : DIRECTORY_INSTANCE_DN ,
              'dsInstancePswd'   : DIRECTORY_INSTANCE_PSWD ,
              'entryToBeAdded'   : '%s/quickstart/add_aci_workaround.ldif' % STAGED_DATA_DIR }
          </call>
          <call function="'checkRC'">
              { 'returncode' : RC ,
                'result'     : STAXResult }
          </call>
          <!--- Stop DS -->
          <message>
             'Stop DS running on port %s' % (DIRECTORY_INSTANCE_PORT)