on xenial help sign in
Don't wait for the proxy so that tests passes
commita23e21d4e8a876fb86118adf594f9fd2fb41eb01 authorAlbert Astals Cid <albert.astals@canonical.com> dateMon 17 Aug 2015, 15:23 (11 years ago) parenta5809e4
1 file changed+4−1
tests/autopilot/unity8/application_lifecycle/tests/test_application_lifecycle.py+4−1
tests/autopilot/unity8/application_lifecycle/tests/test_application_lifecycle.py+4−1
@@ -118,7 +118,10 @@ class ApplicationLifecycleTests(tests.ApplicationLifeCycleTestCase):
118118
119119 process_helpers.lock_unity()
120120
121− self.launch_upstart_application(application_name)
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
124+ self.launch_upstart_application(application_name, [], False)
122125 greeter = self.main_window.get_greeter()
123126 greeter.wait_swiped_away()
124127 process_helpers.unlock_unity()