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

gary_williams
20.58.2007 1c47785140a438dea398e1cca4a1640e8ccf7b30
Explicitly set backend name in replication tests
5 files modified
30 ■■■■■ changed files
opendj-sdk/opends/tests/functional-tests/testcases/replication/totalupdate/replication_binarycopy.xml 3 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/tests/functional-tests/testcases/replication/totalupdate/replication_ldifimport.xml 6 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/tests/functional-tests/testcases/replication/totalupdate/replication_resynchronization.xml 3 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/tests/functional-tests/testcases/replication/totalupdate/replication_schema.xml 15 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/tests/functional-tests/testcases/replication/totalupdate/totalupdate.xml 3 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/tests/functional-tests/testcases/replication/totalupdate/replication_binarycopy.xml
@@ -90,7 +90,8 @@
              <!-- Import data into "master" server -->              
              <call function="'ImportLdifWithScript'">
                { 'location'     : masterHost,
                  'dsPath'       : masterPath,
                  'dsPath'       : masterPath,
                  'dsBackEnd'    : 'userRoot',
                  'dsLdifFile'   : '%s/replication/Example.ldif' % masterDataDir }
              </call>
opendj-sdk/opends/tests/functional-tests/testcases/replication/totalupdate/replication_ldifimport.xml
@@ -90,7 +90,8 @@
              <!-- Import data into "master" server -->              
              <call function="'ImportLdifWithScript'">
                { 'location'     : masterHost,
                  'dsPath'       : masterPath,
                  'dsPath'       : masterPath,
                  'dsBackEnd'    : 'userRoot',
                  'dsLdifFile'   : '%s/replication/Example.ldif' % masterDataDir }
              </call>
@@ -127,7 +128,8 @@
                  <call function="'ImportLdifWithScript'">
                    { 'location'  : consumer.getHostname(),
                      'dsPath'  :  '%s/%s' % (consumer.getDir(), OPENDSNAME),
                      'dsPath'  :  '%s/%s' % (consumer.getDir(), OPENDSNAME),
                      'dsBackEnd'    : 'userRoot',
                      'dsLdifFile'   :  '%s/%s/replication/master_export.ldif' % (consumer.getDir(),relativeDataDir) }
                  </call>                                             
                </sequence>                  
opendj-sdk/opends/tests/functional-tests/testcases/replication/totalupdate/replication_resynchronization.xml
@@ -90,7 +90,8 @@
              <!-- Import data into "master" server -->              
              <call function="'ImportLdifWithScript'">
                { 'location'     : masterHost,
                  'dsPath'       : masterPath,
                  'dsPath'       : masterPath,
                  'dsBackEnd'    : 'userRoot',
                  'dsLdifFile'   : '%s/replication/Example.ldif' % masterDataDir }
              </call>
opendj-sdk/opends/tests/functional-tests/testcases/replication/totalupdate/replication_schema.xml
@@ -233,7 +233,7 @@
            
          <!--- Test Case information
          <!-- Test Case information
          #@TestMarker          Replication Schema Replication Tests
          #@TestName            Replication: Schema Replication: Delete objectclass
          #@TestID                  Delete objectclass
@@ -242,7 +242,7 @@
          #@TestSteps
          #@TestPostamble
          #@TestResult
          -->
          <testcase name="getTestCaseName('Delete objectclass')">
            <sequence>            
              <call function="'testCase_Preamble'"/>
@@ -254,7 +254,7 @@
                newObjectclass = '( testobjectclass-oid NAME \'testobjectclass-0\'  SUP person MAY ( street $  c ) X-ORIGIN \'user defined\' )'
              </script>
                
              <!-- Modify schema  in "master" server
              <!-- Modify schema  in "master" server -->
              <call function="'modifyAnAttribute'">
                { 'dsPath' : masterPath,
                  'dsInstanceHost'   : masterHost ,
@@ -267,7 +267,7 @@
                  'changetype' : 'delete' }
              </call>
              <!-- Try to add entry to servers; should be rejected with error 65 (objectclass violation)
              <!-- Try to add entry to servers; should be rejected with error 65 (objectclass violation) -->
              <iterate var="server" in="_topologyServerList">
                <call function="'addEntry'">
                  { 'location'       : clientHost,
@@ -281,20 +281,19 @@
                </call>                             
              </iterate> 
                       
              <!-- Verify the synchronization of the schema among the servers in the topology
              <!-- Verify the synchronization of the schema among the servers in the topology -->
              <call function="'verifySchemas'">
                [ clientHost, clientPath, master, consumerList, '99-user.ldif' ]
              </call> 
                
              <!-- Verify the synchronization of the trees among the servers in the topology
              <!-- Verify the synchronization of the trees among the servers in the topology -->
              <call function="'verifyTrees'">
                [ clientHost, clientPath, master, consumerList, synchroSuffix ]
              </call> 
                                
              <call function="'testCase_Postamble'"/>
            </sequence>
          </testcase>
-->
          </testcase>
 
          <import machine="STAF_LOCAL_HOSTNAME"
            file="'%s/testcases/replication/replication_cleanup.xml' % (TESTS_DIR)"/>
opendj-sdk/opends/tests/functional-tests/testcases/replication/totalupdate/totalupdate.xml
@@ -74,7 +74,8 @@
              <!-- Import data into Directory Server -->              
              <call function="'ImportLdifWithScript'">
                { 'location'     : server1.getHostname() ,
                  'dsPath'       : '%s/%s' % (server1.getDir(),OPENDSNAME),
                  'dsPath'       : '%s/%s' % (server1.getDir(),OPENDSNAME),
                  'dsBackEnd'    : 'userRoot',
                  'dsLdifFile'   : '%s/replication/Example.ldif' % server1DataDir }
              </call>