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

maudj
09.21.2009 acf315c076399a0f779859b9ecd7479b6838f71f
add check to make sure DS is started before running a restore -maudj
1 files modified
9 ■■■■ changed files
opends/tests/staf-tests/functional-tests/testcases/tasks/restore_db.xml 9 ●●●● patch | view | raw | blame | history
opends/tests/staf-tests/functional-tests/testcases/tasks/restore_db.xml
@@ -23,7 +23,7 @@
 !
 ! CDDL HEADER END
 !
 !      Copyright 2007-2008 Sun Microsystems, Inc.
 !      Copyright 2007-2009 Sun Microsystems, Inc.
! -->
<stax>
  <defaultcall function="restore_db"/>
@@ -195,6 +195,13 @@
              { 'location'  : STAF_REMOTE_HOSTNAME }
            </call>
            <!--- Check that DS started -->
            <call function="'isAlive'">
             { 'noOfLoops'      : 10 ,
               'noOfMilliSeconds' : 2000
             }
            </call>
            <call function="'restore'">
              { 'location'          : STAF_REMOTE_HOSTNAME ,
              'dsInstanceHost'      : DIRECTORY_INSTANCE_HOST,