on xenial help sign in
Add comment and bug ref.
f30478eMichał Sawicz
tests/autopilot/unity8/process_helpers.py+4
@@ -70,6 +70,10 @@ def unlock_unity(unity_proxy_obj=None):
70 if greeter.created == False:
70 if greeter.created == False:
71 raise RuntimeWarning("Greeter appears to be already unlocked.")
71 raise RuntimeWarning("Greeter appears to be already unlocked.")
72
72
73+ # Because of potential input jerkiness under heavy load,
74+ # retry unlocking the greeter two times.
75+ # https://bugs.launchpad.net/ubuntu/+bug/1260113
76+
73 retries = 3
77 retries = 3
74 while retries > 0:
78 while retries > 0:
75 try:
79 try: