opends/tests/functional-tests/testcases/tasks/allowed-tasks.xml
@@ -35,9 +35,10 @@ </script> <call function="'testSuite_Preamble'" /> <!--- Test Suite information #@TestSuiteName Tasks #@TestSuitePurpose control which tasks are allowed #@TestSuiteName Allowed tasks #@TestSuitePurpose Control which tasks are allowed #@TestSuiteID export Tests #@TestSuiteGroup export #@TestGroup tasks @@ -47,13 +48,14 @@ <!--- Test Case information #@TestMarker Backend tasks Tests #@TestName Backend: tasks control #@TestPurpose control which tasks are allowed #@TestMarker Allowed tasks #@TestName Tasks control #@TestPurpose Control which tasks are allowed #@TestPreamble #@TestSteps change the list of allowed tasks #@TestSteps check we can only schedule allowed tasks #@TestStep Change the list of allowed tasks #@TestStep Check we can only schedule allowed tasks #@TestPostamble #@TestResult --> opends/tests/functional-tests/testcases/tasks/backup_db.xml
@@ -37,24 +37,25 @@ <!--- Test Suite information #@TestSuiteName Tasks #@TestSuitePurpose Verify that the backup functionality is working in mode task #@TestSuiteName Backup tasks #@TestSuitePurpose Validate the backup functionality in mode task #@TestSuiteID backup Tests #@TestSuiteGroup backup #@TestGroup tasks #@TestScript backup.xml #@TestScript backup_db.xml #@TestHTMLLink http://opends.dev.java.net/ --> <!--- Test Case information #@TestMarker Backend backup Tests #@TestName Backend: backup #@TestID LDIF Default #@TestPurpose schedule a backup in task mode to be executed immedialy in asynchronous mode #@TestMarker Backup tasks #@TestName Backup task in asynchronous mode #@TestPurpose Schedule a backup in task mode to be executed immedialy in asynchronous mode #@TestPreamble #@TestSteps execute a backup in a task #@TestSteps specify the -t option with the value 0 to schedule for immediate execution #@TestStep Execute a backup in mode task #@TestStep Specify the -t 0 #@TestStep The task is scheduled for immediate execution #@TestSteps The script returns immedialy after scheduling the task #@TestPostamble #@TestResult --> @@ -97,12 +98,13 @@ <!--- Test Case information #@TestMarker Backend Backup #@TestName Backend: Backup #@TestPurpose schedule a Backup in task mode to be executed immedialy in synchronous mode #@TestMarker Backup tasks #@TestName Backup task in synchronous mode #@TestPurpose Schedule a Backup in task mode to be executed immedialy in synchronous mode #@TestPreamble #@TestSteps execute a Backup in a task #@TestSteps don't specify the -t option to schedule for immediate execution and wait the end of the task to return #@TestStep Execute a backup in mode task #@TestStep Don't specify the -t option #@TestStep The task is scheduled for immediate execution and the script must wait the end of the task to return #@TestPostamble #@TestResult --> @@ -142,13 +144,12 @@ <!--- Test Case information #@TestMarker Backend Backup #@TestName Backend: Backup #@TestID LDIF Default #@TestPurpose schedule a Backup in task mode to be executed immedialy in asynchronous mode #@TestMarker Backup tasks #@TestName Schedule a Backup task #@TestPurpose Schedule a Backup in task mode #@TestPreamble #@TestSteps execute a Backup in a task #@TestSteps specify the -t option with the value non null to schedule an execution #@TestStep Execute a Backup in task mode #@TestStep specify the -t option with the value non null to schedule an execution #@TestPostamble #@TestResult --> opends/tests/functional-tests/testcases/tasks/export-ldif.xml
@@ -36,24 +36,26 @@ <call function="'testSuite_Preamble'" /> <!--- Test Suite information #@TestSuiteName Tasks #@TestSuitePurpose Verify that the basic export functionality is working in mode task #@TestSuiteName Export tasks #@TestSuitePurpose Validate the export functionality in mode task #@TestSuiteID export Tests #@TestSuiteGroup export #@TestGroup tasks #@TestScript export.xml #@TestScript export_ldif.xml #@TestHTMLLink http://opends.dev.java.net/ --> <!--- Test Case information #@TestMarker Backend export Tests #@TestName Backend: export: LDIF Default #@TestID LDIF Default #@TestPurpose schedule a Basic export in task mode to be executed immedialy in asynchronous mode #@TestMarker Export tasks #@TestName Export task in asynchronous mode #@TestPurpose Schedule a Export in task mode to be executed immedialy in asynchronous mode #@TestPreamble #@TestSteps execute a export-ldif in a task #@TestSteps specify the -t option with the value 0 to schedule for immediate execution #@TestStep Execute a export-ldif in a task #@TestStep Specify the -t option with the value 0 #@TestStep The task is scheduled for immediate execution #@TestStep The script returns immedialy after scheduling the task #@TestPostamble #@TestResult --> @@ -94,13 +96,13 @@ <!--- Test Case information #@TestMarker Backend export Tests #@TestName Backend: export: LDIF Default #@TestID LDIF Default #@TestPurpose schedule a Basic export in task mode to be executed immedialy in synchronous mode #@TestMarker Export tasks #@TestName Export task in synchronous mode #@TestPurpose Schedule a Export in task mode to be executed immedialy in synchronous mode #@TestPreamble #@TestSteps execute a export-ldif in a task #@TestSteps don't specify the -t option to schedule for immediate execution and wait the end of the task to return #@TestStep Execute a export-ldif in a task #@TestStep Don't specify the -t option #@TestStep The task is scheduled for immediate execution and the script must wait the end of the export #@TestPostamble #@TestResult --> @@ -141,13 +143,12 @@ <!--- Test Case information #@TestMarker Backend export Tests #@TestName Backend: export: LDIF Default #@TestID LDIF Default #@TestPurpose schedule a Basic export in task mode to be executed immedialy in asynchronous mode #@TestMarker Export tasks #@TestName Schedule a Export task #@TestPurpose Schedule a Export in task mode #@TestPreamble #@TestSteps execute a export-ldif in a task #@TestSteps specify the -t option with the value non null to schedule an execution #@TestStep Execute a export-ldif in a task #@TestStep Specify the -t option with the value non null to schedule an execution #@TestPostamble #@TestResult --> opends/tests/functional-tests/testcases/tasks/import-ldif.xml
@@ -37,24 +37,24 @@ <!--- Test Suite information #@TestSuiteName Tasks #@TestSuitePurpose Verify that the basic import functionality is working in mode task #@TestSuiteName Import Tasks #@TestSuitePurpose Validate the Import functionality in mode task #@TestSuiteID Import Tests #@TestSuiteGroup Import #@TestGroup tasks #@TestScript import.xml #@TestScript import_ldif.xml #@TestHTMLLink http://opends.dev.java.net/ --> <!--- Test Case information #@TestMarker Backend Import Tests #@TestName Backend: Import: LDIF Default #@TestID LDIF Default #@TestPurpose schedule a Basic import in task mode to be executed immedialy in synchronous mode #@TestMarker Import Tasks #@TestName Import task in synchronous mode #@TestPurpose Schedule a import in task mode to be executed immedialy in synchronous mode #@TestPreamble #@TestSteps execute a import-ldif in a task #@TestSteps don't specify the -t option to schedule for immediate execution and wait the end of the task to return #@TestStep Execute a import-ldif in a task #@TestStep Don't specify the -t option #@TestStep The task is scheduled for immediate execution and the script must wait the end of the import #@TestPostamble #@TestResult --> @@ -104,15 +104,16 @@ <!--- Test Case information #@TestMarker Backend Import Tests #@TestName Backend: Import: LDIF Default #@TestID LDIF Default #@TestPurpose schedule a Basic import in task mode to be executed immedialy in asynchronous mode #@TestMarker Import Tasks #@TestName Import task in asynchronous mode #@TestPurpose Schedule a import in task mode to be executed immedialy in asynchronous mode #@TestPreamble #@TestSteps execute a import-ldif in a task #@TestSteps specify the -t option with the value 0 to schedule for immediate execution #@TestStep Execute a import-ldif in a task #@TestStep specify the -t option with the value 0 #@TestStep The task is scheduled for immediate execution @TestStep The script returns immedialy after scheduling the task #@TestPostamble #@TestResult --> <testcase name="getTestCaseName('schedule import-ldif task for immediate execution in asynchronous mode')"> @@ -164,19 +165,18 @@ </testcase> <!--- Test Case information #@TestMarker Backend Import Tests #@TestName Backend: Import: LDIF Default #@TestID LDIF Default #@TestPurpose schedule a import-ldif in task mode to be executed in asynchronous mode #@TestMarker Import Tasks #@TestName Schedule a Import task #@TestPurpose Schedule a import in task mode #@TestPreamble #@TestSteps execute a import-ldif in a task #@TestSteps specify the -t option with the value non null to schedule an execution #@TestStep Execute a import-ldif in a task @TestStep specify the -t option with the value non null to schedule an execution #@TestPostamble #@TestResult --> <testcase name="getTestCaseName('schedule import-ldif task for scheduled execution in asynchronous mode')"> <sequence> <call function="'testCase_Preamble'"/> opends/tests/functional-tests/testcases/tasks/restart_db.xml
@@ -37,24 +37,23 @@ <!--- Test Suite information #@TestSuiteName Tasks #@TestSuitePurpose Verify that the restart functionality is working in mode task #@TestSuiteName Restart tasks #@TestSuitePurpose Validate the stop and restart functionality in mode task #@TestSuiteID restart Tests #@TestSuiteGroup restart #@TestGroup tasks #@TestScript restart.xml #@TestScript restart_db.xml #@TestHTMLLink http://opends.dev.java.net/ --> <!--- Test Case information #@TestMarker Backend restart Tests #@TestName Backend: restart #@TestPurpose schedule a restart in task mode to be executed immedialy in asynchronous mode #@TestMarker Restart tasks #@TestName Restart task in asynchronous mode #@TestPurpose Schedule a restart in task mode to be executed immedialy in asynchronous mode #@TestPreamble #@TestSteps execute a restart in a task #@TestSteps specify the -t option with the value non null to schedule an execution #@TestStep Execute a restart in task #@TestStep Specify the -t option with the value non null to schedule an execution #@TestPostamble #@TestResult --> @@ -96,12 +95,12 @@ <!--- Test Case information #@TestMarker Backend stop Tests #@TestName Backend: stop #@TestPurpose schedule a stop in task mode to be executed immedialy in asynchronous mode #@TestMarker Restart tasks #@TestName Stop task in asynchronous mode #@TestPurpose Schedule a stop in task mode to be executed immedialy in asynchronous mode #@TestPreamble #@TestSteps execute a stop in a task #@TestSteps specify the -t option with the value non null to schedule an execution #@TestStep Execute a stop in task mode #@TestStep Specify the -t option with the value non null to schedule an execution #@TestPostamble #@TestResult --> opends/tests/functional-tests/testcases/tasks/restore_db.xml
@@ -37,24 +37,22 @@ <!--- Test Suite information #@TestSuiteName Tasks #@TestSuitePurpose Verify that the restore functionality is working in mode task #@TestSuiteName Restore tasks #@TestSuitePurpose Validate the restore functionality in mode task #@TestSuiteID restore Tests #@TestSuiteGroup restore #@TestGroup tasks #@TestScript restore.xml #@TestScript restore_db.xml #@TestHTMLLink http://opends.dev.java.net/ --> <!--- Test Case information #@TestMarker Backend restore Tests #@TestName Backend: restore #@TestID LDIF Default #@TestMarker Restore tasks #@TestName Restore task in asynchronous mode #@TestPurpose schedule a restore in task mode to be executed immedialy in asynchronous mode #@TestPreamble #@TestSteps execute a restore in a task #@TestSteps specify the -t option with the value 0 to schedule for immediate execution #@TestStep Execute a restore in a task #@TestStep Specify the -t option with the value 0 to schedule for immediate execution #@TestPostamble #@TestResult --> @@ -63,8 +61,6 @@ <sequence> <call function="'testCase_Preamble'"/> <call function="'restore'"> { 'location' : STAF_REMOTE_HOSTNAME , 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST, @@ -82,12 +78,13 @@ <!--- Test Case information #@TestMarker Backend restore #@TestName Backend: restore #@TestPurpose schedule a restore in task mode to be executed immedialy in synchronous mode #@TestMarker Restore tasks #@TestName Restore task in synchronous mode #@TestPurpose Schedule a restore in task mode to be executed immedialy in synchronous mode #@TestPreamble #@TestSteps execute a restore in a task #@TestSteps don't specify the -t option to schedule for immediate execution and wait the end of the task to return #@TestStep Execute a restore in a task #@TestStep Don't specify the -t option #@TestStep The task is scheduled for immediate execution and the script must wait the end of the restore #@TestPostamble #@TestResult --> @@ -113,15 +110,13 @@ <!--- Test Case information #@TestMarker Backend restore #@TestName Backend: restore #@TestID LDIF Default #@TestPurpose schedule a restore in task mode to be executed immedialy in asynchronous mode #@TestMarker Restore tasks #@TestName Schedule a Restore task #@TestPurpose Schedule a restore in task mode #@TestPreamble #@TestSteps execute a restore in a task #@TestSteps specify the -t option with the value non null to schedule an execution #@TestStep Execute a restore in a task #@TestStep Specify the -t option with the value non null to schedule an execution #@TestPostamble #@TestResult --> <testcase name="getTestCaseName('schedule restore task for scheduled execution in asynchronous mode')"> opends/tests/functional-tests/testcases/tasks/tasks.xml
@@ -25,6 +25,13 @@ ! ! Portions Copyright 2007-2008 Sun Microsystems, Inc. ! --> <!-- Place group-specific test information here. #@TestGroupName Tasks #@TestGroupPurpose Check the Directory server manages correctly the tasks --> <stax> <defaultcall function="main_tasks"/> <function name="main_tasks">