Changes: Wait for camera to be prestarted in performance test

RevBy: Olli Leppanen
Description: Camera has the least priority in the prestarted apps and
             hence will be the last one to prestart. So we wait for camera
             to be up and running so that any more boosters are not used after
             applifed start.
pull/1/head
Nimika Keshri 14 years ago
parent 6ea4008d7c
commit b5a56fd61f

@ -224,6 +224,10 @@ class TC_PerformanceTests < Test::Unit::TestCase
end
if not system "pgrep applifed"
system("initctl start xsession/applifed")
#applifed start causes booster-m to be used to prestart applications.
#Camera has the least priority and the last one to be prestarted.Hence
#We wait for the camera to be up and running so that any more booster-m is not used up
wait_for_app('camera-ui')
end
wait_for_app('applauncherd')
wait_for_app('booster-q')

Loading…
Cancel
Save