Merge lp:~soren/nova/skip-timing-sensitive-tests into lp:~hudson-openstack/nova/trunk
Proposed by
Soren Hansen
Status: | Rejected | ||||
---|---|---|---|---|---|
Rejected by: | Soren Hansen | ||||
Proposed branch: | lp:~soren/nova/skip-timing-sensitive-tests | ||||
Merge into: | lp:~hudson-openstack/nova/trunk | ||||
Diff against target: |
22 lines (+6/-0) 1 file modified
nova/tests/api/openstack/test_ratelimiting.py (+6/-0) |
||||
To merge this branch: | bzr merge lp:~soren/nova/skip-timing-sensitive-tests | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Nova Core security contacts | Pending | ||
Review via email: mp+53603@code.launchpad.net |
Commit message
Skip timing sensitive tests if SKIP_TIMING_
To post a comment you must log in.
Unmerged revisions
- 802. By Soren Hansen
-
Make timing sensitive test (specifically nova.tests.
api.openstack. test_ratelimiti ng:LimiterTest. test_second) be skipped if SKIP_TIMING_ SENSITIVE_ TESTS environment is set.
I've fixed ratelimiting in general to not unit test using `time.sleep` anymore. IMO testing with `time.sleep` is a hack and I'd rather see it go away than have this go in. :)
I'll not 'Disapprove' because it would be a bias review based on my branch, but feel free to look over my Limits reworking which improves testability and ensures tests are MUCH faster due to no more sleeps. :)
https:/ /code.launchpad .net/~blamar/ nova/lp728587/ +merge/ 53554