With the new setup and clean of each testsuites I had to add
a function that creates a backup that's used in the restore1 testcase.
| | |
| | | <import machine="'%s' % (STAF_LOCAL_HOSTNAME)" |
| | | file="'%s/testcases/backends/backend_setup.xml' % (TESTS_DIR)"/> |
| | | <call function="'backend_setup'"> |
| | | { 'startDS' : False, |
| | | { 'startDS' : True, |
| | | 'loadBackend' : True } |
| | | </call> |
| | | |
| | | <sequence> |
| | | <message> |
| | | 'Create a backup of the data in OpenDS to be used in the restore testcase' |
| | | </message> |
| | | <call function="'backup'"> |
| | | { |
| | | 'backupDir' : '%s/backends/backup1' % STAGED_DATA_DIR |
| | | } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | </sequence> |
| | | |
| | | <!--- Test Case information |
| | | #@TestMarker Backend Restore Tests |