Merge lp:~bregma/unity/lp-1436095 into lp:unity
Status: | Merged |
---|---|
Approved by: | Christopher Townsend |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3943 |
Proposed branch: | lp:~bregma/unity/lp-1436095 |
Merge into: | lp:unity |
Diff against target: |
32 lines (+15/-6) 1 file modified
tests/autopilot/unity/tests/test_spread.py (+15/-6) |
To merge this branch: | bzr merge lp:~bregma/unity/lp-1436095 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Christopher Townsend | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+254012@code.launchpad.net |
Commit message
AP tests: accounted for arbitrarily-raised exceptions in checking scaled windows
Description of the change
Fixes a couple of recurring AP test errors to do with closing windows in the spread.
It seems the D-Bus introspection class of the Autopilot suite raises an exception when you're trying to examine certain data that does not match some criterion (the likes of which was not worth investigating) and the order of appearance of the data was largely random, so the closing-
Note that these were not failing tests but errors in the test infrastructure. The workaround is to catch the raised exceptions and ignore them, because they only happened on irrelevant data that was being filtered out any way.
PASSED: Continuous integration, rev:3930 jenkins. qa.ubuntu. com/job/ unity-ci/ 1171/ jenkins. qa.ubuntu. com/job/ unity-vivid- amd64-ci/ 59 jenkins. qa.ubuntu. com/job/ unity-vivid- armhf-ci/ 58 jenkins. qa.ubuntu. com/job/ unity-vivid- i386-ci/ 58
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity- ci/1171/ rebuild
http://