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

Christophe Sovant
27.16.2013 c06dad57f7516d62f54503a90336d90733e90eb2
CR-1745 Fix for replication/changelog testsuite on Windows
1 files modified
98 ■■■■■ changed files
opends/tests/staf-tests/functional-tests/testcases/replication/changelog/changelog_tests.xml 98 ●●●●● patch | view | raw | blame | history
opends/tests/staf-tests/functional-tests/testcases/replication/changelog/changelog_tests.xml
@@ -103,9 +103,19 @@
              }
            </call>                                                                                 
            <if expr="not is_windows_platform(STAF_REMOTE_HOSTNAME)">
              <script>
                sleepTime = 2000
              </script>
              <else>
                <script>
                  sleepTime = 5000
                </script>
              </else>
            </if>
            <!-- Let some time for the change to propagate -->
            <call function="'Sleep'">
              { 'sleepForMilliSeconds' :  2000 }
              { 'sleepForMilliSeconds' :  sleepTime }
            </call>
                              
            <!-- Search changelog in the various replication servers -->                                                           
@@ -263,9 +273,19 @@
              }
            </call>                                          
                                            
            <if expr="not is_windows_platform(STAF_REMOTE_HOSTNAME)">
              <script>
                sleepTime = 2000
              </script>
              <else>
                <script>
                  sleepTime = 5000
                </script>
              </else>
            </if>
            <!-- Let some time for the change to propagate -->
            <call function="'Sleep'">
              { 'sleepForMilliSeconds' :  2000 }
              { 'sleepForMilliSeconds' :  sleepTime }
            </call>
                            
            <!-- Export changelog in the various replication servers, then
@@ -417,9 +437,19 @@
              }
            </call>                                          
            <if expr="not is_windows_platform(STAF_REMOTE_HOSTNAME)">
              <script>
                sleepTime = 2000
              </script>
              <else>
                <script>
                  sleepTime = 5000
                </script>
              </else>
            </if>
            <!-- Let some time for the change to propagate -->
            <call function="'Sleep'">
              { 'sleepForMilliSeconds' :  2000 }
              { 'sleepForMilliSeconds' :  sleepTime }
            </call>
                              
            <!-- Stop the servers in the topology -->
@@ -498,9 +528,19 @@
              }
            </call>                                          
            <if expr="not is_windows_platform(STAF_REMOTE_HOSTNAME)">
              <script>
                sleepTime = 2000
              </script>
              <else>
                <script>
                  sleepTime = 5000
                </script>
              </else>
            </if>
            <!-- Let some time for the change to propagate -->
            <call function="'Sleep'">
              { 'sleepForMilliSeconds' :  2000 }
              { 'sleepForMilliSeconds' :  sleepTime }
            </call>
                              
            <!-- Stop the servers in the topology -->
@@ -778,9 +818,19 @@
              }
            </call>                                          
            <if expr="not is_windows_platform(STAF_REMOTE_HOSTNAME)">
              <script>
                sleepTime = 2000
              </script>
              <else>
                <script>
                  sleepTime = 5000
                </script>
              </else>
            </if>
            <!-- Let some time for the change to propagate -->
            <call function="'Sleep'">
              { 'sleepForMilliSeconds' :  2000 }
              { 'sleepForMilliSeconds' :  sleepTime }
            </call>                
              
            <!-- Backup changelog in the various replication servers -->
@@ -843,9 +893,19 @@
              }
            </call>                                          
            <if expr="not is_windows_platform(STAF_REMOTE_HOSTNAME)">
              <script>
                sleepTime = 2000
              </script>
              <else>
                <script>
                  sleepTime = 5000
                </script>
              </else>
            </if>
            <!-- Let some time for the change to propagate -->
            <call function="'Sleep'">
              { 'sleepForMilliSeconds' :  2000 }
              { 'sleepForMilliSeconds' :  sleepTime }
            </call>                                                              
            <!-- Restore changelog_backup_online in the various replication 
@@ -1116,9 +1176,19 @@
              }
            </call>
                                        
            <if expr="not is_windows_platform(STAF_REMOTE_HOSTNAME)">
              <script>
                sleepTime = 2000
              </script>
              <else>
                <script>
                  sleepTime = 5000
                </script>
              </else>
            </if>
            <!-- Let some time for the change to propagate -->
            <call function="'Sleep'">
              { 'sleepForMilliSeconds' :  2000 }
              { 'sleepForMilliSeconds' :  sleepTime }
            </call>
              
            <!-- Search changelog in the various replication servers -->                                                           
@@ -1389,9 +1459,19 @@
              }
            </call>
                                                
            <!-- Let some time for the changes to propagate -->
            <if expr="not is_windows_platform(STAF_REMOTE_HOSTNAME)">
              <script>
                sleepTime = 2000
              </script>
              <else>
                <script>
                  sleepTime = 5000
                </script>
              </else>
            </if>
            <!-- Let some time for the change to propagate -->
            <call function="'Sleep'">
              { 'sleepForMilliSeconds' :  2000 }
              { 'sleepForMilliSeconds' :  sleepTime }
            </call>
              
            <!-- Search changelog in the various replication servers -->