]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fixes HostTestCase failures due to slow test run
authorgit-harry <git-harry@live.co.uk>
Mon, 31 Mar 2014 12:59:56 +0000 (13:59 +0100)
committergit-harry <git-harry@live.co.uk>
Mon, 31 Mar 2014 12:59:56 +0000 (13:59 +0100)
commit4465cd20b42c0db0efd405b57d9dc141bf6ed918
tree1ddeee8f23cad58443ad5281e5845758c59df6c3
parent6b3d177695ef360fce9454c890fd262d2429e0b8
Fixes HostTestCase failures due to slow test run

Status check in _list_hosts() fails if tests take longer than the
service_down_time.

Stubbing utcnow() guarantees that status check passes for tests.

Change-Id: I188443730ce077a8117812f1089db36ece184e7a
Closes-Bug: 1292643
cinder/tests/api/contrib/test_hosts.py