Changes: perf test modified to wait for applauncherd to be running in normal mode

RevBy: TrustMe
pull/1/head
Nimika Keshri 15 years ago
parent 26fac2ee34
commit 5e444e4f74

5
debian/changelog vendored

@ -1,9 +1,10 @@
applauncherd (0.30.2) unstable; urgency=low
applauncherd (0.30.2) stable; urgency=low
* Fixes: NB#257654 - QApplication::applicationDirPath() and QApplication::applicationFilePath() return wrong values for d-boosted applications
* Changes: Fix dir path logging in test apps. Remove redundant test case applauncherd__test_dirPath_filePath_m.
* Changes: perf test modified to wait for applauncherd to be running in normal mode
-- Alexey Shilov <alexey.shilov@nokia.com> Thu, 16 Jun 2011 14:14:58 +0300
-- Alexey Shilov <alexey.shilov@nokia.com> Fri, 17 Jun 2011 14:14:58 +0300
applauncherd (0.30.1) stable; urgency=low

@ -158,7 +158,16 @@ class TC_PerformanceTests < Test::Unit::TestCase
print_debug("restart applauncherd")
system("initctl restart xsession/applauncherd")
sleep(10)
#waiting for applauncherd and boosters to stabalise and up and running
sleep(30)
x = `ps ax | grep applauncherd`
if x.split(/\n/)[0].include?("boot-mode")
print_debug("The applauncherd is running in boot mode")
else
print_debug("The applauncherd is running in normal mode")
end
end
@ -176,7 +185,7 @@ class TC_PerformanceTests < Test::Unit::TestCase
end
if not system "pgrep applauncherd"
system("initctl start xsession/applauncherd")
sleep(5)
sleep(30)
end
end

Loading…
Cancel
Save