Merge lp:~harlowja/cloud-init/cloud-init-fix-test-times into lp:~cloud-init-dev/cloud-init/trunk
Proposed by
Joshua Harlow
on 2016-05-16
| Status: | Merged |
|---|---|
| Merged at revision: | 1219 |
| Proposed branch: | lp:~harlowja/cloud-init/cloud-init-fix-test-times |
| Merge into: | lp:~cloud-init-dev/cloud-init/trunk |
| Diff against target: |
175 lines (+27/-20) 3 files modified
cloudinit/sources/DataSourceOpenStack.py (+8/-4) test-requirements.txt (+3/-0) tests/unittests/test_datasource/test_openstack.py (+16/-16) |
| To merge this branch: | bzr merge lp:~harlowja/cloud-init/cloud-init-fix-test-times |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| cloud-init commiters | 2016-05-16 | Pending | |
|
Review via email:
|
|||
Commit Message
Fixes up tests taking forever due to retries and timeouts.
Timing info:
Fixed timing via `time nosetests`:
real 0m12.376s
user 0m6.797s
sys 0m0.616s
Not fixed timing via `time nosetests`:
real 1m12.886s
user 0m7.202s
sys 0m0.666s
To post a comment you must log in.
| Scott Moser (smoser) wrote : | # |
| Joshua Harlow (harlowja) wrote : | # |
Right right, maybe let me exclude that. The timer part is really only for detecting the times, not for fixing them. We can leave the inclusion of that to https:/
lp:~harlowja/cloud-init/cloud-init-fix-test-times
updated
on 2016-05-24
- 1220. By Joshua Harlow on 2016-05-24
-
Make the usage of 'nose-timer' optional


I don't *need* nose-timer for this, right?
I just ask because python-nose-timer is not available in trusty, and also isn't in ubuntu main, so putting it as a build-dep (in order to run tests during a package build) is less than ideal.
I'm not entirely opposed to it, but if there is some easy way that we can do without it, i'd be interested.
https:/ /launchpad. net/ubuntu/ +source/ python- nose-timer