diff -r 1ddbe54d0645 -r ccb4f6b3db21 systemhealthmanagement/systemhealthmgr/test/tsysmon/src/tsysmon_app_failcount2failwait_slave.cpp --- a/systemhealthmanagement/systemhealthmgr/test/tsysmon/src/tsysmon_app_failcount2failwait_slave.cpp Thu Aug 19 11:09:10 2010 +0300 +++ b/systemhealthmanagement/systemhealthmgr/test/tsysmon/src/tsysmon_app_failcount2failwait_slave.cpp Tue Aug 31 16:29:05 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" @@ -41,7 +41,6 @@ { case 1: { - RProcess::Rendezvous(KErrNone); User::After(KWaitTime); time1.HomeTime(); datetime1 = time1.DateTime(); @@ -52,12 +51,12 @@ helper = CSysMonTestHelper::NewLC(); helper->WriteResultL(millisecs); + RProcess::Rendezvous(KErrNone); CleanupStack::PopAndDestroy(helper); break; } case 2: { - RProcess::Rendezvous(KErrNone); time1.HomeTime(); datetime1 = time1.DateTime(); millisecs = (datetime1.MicroSecond() / 1000) + @@ -66,7 +65,7 @@ (datetime1.Hour() * 60 * 60 * 1000); TInt secondRunTime; - CSysMonTestHelper::GetResultIntL(_L("APPFWK-SYSMON-0038"), secondRunTime); + CSysMonTestHelper::GetResultIntL(_L("38"), secondRunTime); CSysMonTestHelper* helper = CSysMonTestHelper::NewLC(); if ( (secondRunTime - millisecs) < 2000 ) @@ -77,6 +76,7 @@ { helper->WriteResultL(0); } + RProcess::Rendezvous(KErrNone); CleanupStack::PopAndDestroy(helper); keepRunning = ETrue; break;