@@ -118,7 +118,10 @@ class ApplicationLifecycleTests(tests.ApplicationLifeCycleTestCase):
119 process_helpers.lock_unity()
119 process_helpers.lock_unity()
121+ # Don't wait for the proxy since the application is
122+ # already launched and sleeping because the greeter is on
123+ # so waiting for the proxy will never happen
121− self.launch_upstart_application(application_name)
124+ self.launch_upstart_application(application_name, [], False)
122 greeter = self.main_window.get_greeter()
125 greeter = self.main_window.get_greeter()
123 greeter.wait_swiped_away()
126 greeter.wait_swiped_away()
124 process_helpers.unlock_unity()
127 process_helpers.unlock_unity()