systemhealthmanagement/systemhealthmgr/test/tsysmon/scripts/shmatest_sysmon_failcount2failwait.script
branchRCL_3
changeset 21 ccb4f6b3db21
parent 0 4e1aa6a622a0
child 22 8cb079868133
equal deleted inserted replaced
20:1ddbe54d0645 21:ccb4f6b3db21
     1 //
     1 //
     2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 // All rights reserved.
     3 // All rights reserved.
     4 // This component and the accompanying materials are made available
     4 // This component and the accompanying materials are made available
     5 // under the terms of "Eclipse Public License v1.0"
     5 // under the terms of "Eclipse Public License v1.0"
     6 // which accompanies this distribution, and is available
     6 // which accompanies this distribution, and is available
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    25 //! @SYMTestCaseID 		DEVSRVS-SHMA-SYSMON-0038
    25 //! @SYMTestCaseID 		DEVSRVS-SHMA-SYSMON-0038
    26 //! @SYMPREQ 			PREQ1089 PREQ1871
    26 //! @SYMPREQ 			PREQ1089 PREQ1871
    27 //! @SYMREQ			REQ6600 REQ6603 REQ6830 REQ9457
    27 //! @SYMREQ			REQ6600 REQ6603 REQ6830 REQ9457
    28 //! @SYMTestType		CIT
    28 //! @SYMTestType		CIT
    29 //! @SYMTestPriority		Critical
    29 //! @SYMTestPriority		Critical
    30 //! @SYMTestCaseDependencies	appfwk-sysmon-0038_<emulator|hardware>0.rsc must be used in place of SSCForStartupMode0.rsc
    30 //! @SYMTestCaseDependencies	appfwk-sysmon-0038_<emulator|hardware>0.rsc is merged with noncriticalcmdlist.rsc
    31 //! @SYMTestCaseDesc		Register a process for monitoring with retry limit = 2, fail the process twice with a pause
    31 //! @SYMTestCaseDesc		Register a process for monitoring with retry limit = 2, fail the process twice with a pause
    32 //! @SYMTestActions		A process is registered. Failure policy is not important.
    32 //! @SYMTestActions		A process is registered. Failure policy is not important.
    33 //! Fail the process.
    33 //! Fail the process.
    34 //! The process will be restarted.
    34 //! The process will be restarted.
    35 //! Wait {patchable constant} (default 15) seconds.
    35 //! Wait {patchable constant} (default 15) seconds.
    36 //! Fail the process again.
    36 //! Fail the process again.
    37 //! @SYMTestExpectedResults 	The process is restarted again immediately, and reregistered.
    37 //! @SYMTestExpectedResults 	The process is restarted again immediately, and reregistered.
    38 //
    38 //
    39 START_TESTCASE DEVSRVS-SHMA-SYSMON-0038
    39 START_TESTCASE DEVSRVS-SHMA-SYSMON-0038
    40 RUN_TEST_STEP 100 tsysmon_server ResultCheck z:\shmatest\configs\tsysmon.ini APPFWK-SYSMON-0038
    40 RUN_TEST_STEP 100 tsysmon_server ResultCheck z:\shmatest\configs\tsysmon.ini 38
    41 END_TESTCASE DEVSRVS-SHMA-SYSMON-0038
    41 END_TESTCASE DEVSRVS-SHMA-SYSMON-0038