Changes: Stopping applifed in performance tests

RevBy: TrustMe
pull/1/head
Nimika Keshri 14 years ago
parent 892f61ae2d
commit 667a4e25e9

6
debian/changelog vendored

@ -1,3 +1,9 @@
applauncherd (1.0.2) unstable; urgency=low
* Stopping applifed in performance tests
-- Nimika Keshri <nimika.1.keshri@nokia.com> Tue, 09 Aug 2011 11:12:11 +0300
applauncherd (1.0.1) stable; urgency=low
* Changes: Modified unittest for Connection

@ -152,6 +152,8 @@ class TC_PerformanceTests < Test::Unit::TestCase
print_debug("restart mthome")
system("initctl restart xsession/mthome")
print_debug("stop applifed")
system("initctl stop xsession/applifed")
print_debug("move #{MATTI_LOCATION} to #{TEMPORARY_MATTI_LOCATION}")
system "mv #{MATTI_LOCATION} #{TEMPORARY_MATTI_LOCATION}"
@ -185,8 +187,11 @@ class TC_PerformanceTests < Test::Unit::TestCase
end
if not system "pgrep applauncherd"
system("initctl start xsession/applauncherd")
sleep(30)
end
if not system "pgrep applifed"
system("initctl start xsession/applifed")
end
sleep(30)
end

Loading…
Cancel
Save