Merge "Fix time usage in unit tests for agent power interface"
This commit is contained in:
commit
df9ce79f23
@ -30,7 +30,7 @@ class AgentPowerTest(db_base.DbTestCase):
|
||||
self.config(fast_track=True, group='deploy')
|
||||
self.power = agent_power.AgentPower()
|
||||
dii = {
|
||||
'agent_last_heartbeat': datetime.datetime.now().strftime(
|
||||
'agent_last_heartbeat': datetime.datetime.utcnow().strftime(
|
||||
"%Y-%m-%dT%H:%M:%S.%f"),
|
||||
'deployment_reboot': True,
|
||||
'agent_url': 'http://url',
|
||||
|
Loading…
Reference in New Issue
Block a user