ironic.tests.db.utils.get_test_node method sets some values incorrectly

Bug #1384647 reported by Vladyslav Drok
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Medium
Vladyslav Drok

Bug Description

Following values are set incorrectly in returned dictionary:

'updated_at': kw.get('created_at')
'created_at': kw.get('updated_at')

Should be:

'updated_at': kw.get('updated_at')
'created_at': kw.get('created_at')

Vladyslav Drok (vdrok)
Changed in ironic:
assignee: nobody → Vladyslav Drok (vdrok)
Revision history for this message
Dmitry Tantsur (divius) wrote :

I had strong feeling that we fixed it, but you're right it's still there.

Changed in ironic:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

Fix proposed to branch: master
Review: https://review.openstack.org/130557

Changed in ironic:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/130557
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=97157d07d18201dab12c2a172028a7fa0c9a5423
Submitter: Jenkins
Branch: master

commit 97157d07d18201dab12c2a172028a7fa0c9a5423
Author: Vladyslav Drok <email address hidden>
Date: Thu Oct 23 17:43:34 2014 +0300

    Fix get_test_node attributes set incorrectly

    created_at and updated_at attributes in dictionary returned by
    tests.db.utils.get_test_node set incorrectly. This change fixes it.

    Closes-bug: #1384647
    Change-Id: I51ccdee3eb902d5b1b657507f80a30552aebf0f9

Changed in ironic:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ironic:
milestone: none → kilo-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ironic:
milestone: kilo-1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.