-
Committer:
Albert Astals Cid
-
Date:
2016-08-30 09:33:01 UTC
-
mto:
This revision was merged to the branch mainline in
revision
2641.
-
Revision ID:
albert.astals@canonical.com-20160830093301-5xgia179dnr1wdnk
Improve findChild calls inside tryCompareFunction
findChild has a timeout retry since a while ago. This means that if we have a findChild inside a tryCompareFunction the retries multiply and it takes around 30 minutes for
the tryCompareFunction to fail if the findChild is failing, so what we do is set the timeout of findChild to 0
In other cases we just had a tryCompareFunction that made sure the findChild after it would succeed, since now findChild has a retry mechanism we can just remove that tryCompareFunction altogether