Merge lp:~soren/nova/hosts-up-tz-fix into lp:~hudson-openstack/nova/trunk
Proposed by
Soren Hansen
Status: | Merged |
---|---|
Approved by: | Soren Hansen |
Approved revision: | 290 |
Merged at revision: | 290 |
Proposed branch: | lp:~soren/nova/hosts-up-tz-fix |
Merge into: | lp:~hudson-openstack/nova/trunk |
Diff against target: |
13 lines (+2/-1) 1 file modified
nova/scheduler/driver.py (+2/-1) |
To merge this branch: | bzr merge lp:~soren/nova/hosts-up-tz-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Devin Carlen (community) | Approve | ||
Joshua McKenty (community) | Approve | ||
Review via email: mp+36421@code.launchpad.net |
Commit message
When calculating timedeltas make sure both timestamps are in UTC.
For people ahead of UTC, it makes the scheduler unit tests pass.
For people behind UTC, it makes their services time out after 60 seconds without a heart beat rather than X hours and 60 seconds without a heart beat (where X is the number of hours they're behind UTC).
Description of the change
Make tests pass for non-Americans :)
To post a comment you must log in.
lgtm.