Joshua Harlow has proposed merging
lp:~harlowja/cloud-init/cloud-init-nose-timer into lp:cloud-init.
Requested reviews:
cloud init development team (cloud-init-dev)
For more details, see:
https://code.launchpad.net/~harlowja/cloud-init/cloud-init-nose-timer/+merge/294569
Add top 10 slow tests and use nose to figure it out.
--
Your team cloud init development team is requested to review the proposed merge
of lp:~harlowja/cloud-init/cloud-init-nose-timer into lp:cloud-init.
=== modified file 'test-requirements.txt'
--- test-requirements.txt 2016-05-12 18:35:18 +0000
+++ test-requirements.txt 2016-05-12 21:31:10 +0000
@@ -2,6 +2,7 @@
httpretty>=0.7.1
mock
nose
+nose-timer
# Only really needed on older versions of python
contextlib2
=== modified file 'tox.ini'
--- tox.ini 2016-05-12 20:43:11 +0000
+++ tox.ini 2016-05-12 21:31:10 +0000
@@ -3,7 +3,7 @@
recreate = True
[testenv]
-commands = python -m nose {posargs:tests}
+commands = python -m nose --with-timer --timer-top-n 10 {posargs:tests}
deps = -r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
@@ -19,7 +19,7 @@
LC_ALL = en_US.utf-8
[testenv:py26]
-commands = nosetests {posargs:tests}
+commands = nosetests --with-timer --timer-top-n 10 {posargs:tests}
deps =
contextlib2
httpretty>=0.7.1
_______________________________________________
Mailing list: https://launchpad.net/~cloud-init-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~cloud-init-dev
More help : https://help.launchpad.net/ListHelp