~attente/unity8/1634508

Viewing all changes in revision 2641.

  • Committer: Bileto Bot
  • Author(s): Albert Astals Cid
  • Date: 2016-09-22 07:41:49 UTC
  • mfrom: (2600.2.1 unity8)
  • Revision ID: ci-train-bot@canonical.com-20160922074149-qdfa72c44qe00spk
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.

Approved by: Michał Sawicz, Unity8 CI Bot

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: