Incorrect using of attribute in test

Bug #1298204 reported by Sergey Kraynev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Undecided
Sergey Kraynev

Bug Description

Functions Fn::GetAtt and get_attr need for getting resource attribute according to attribute_schema.
Resource generic_rsrc.ResourceWithComplexAttributes is used in test test_hot.StackGetAttrValidationTest.test_validate_props_from_attrs, this resource does not have attribute flat_map and string, so I offer change type of resource1 on generic_rsrc.ResWithComplexPropsAndAttrs.

description: updated
Changed in heat:
assignee: nobody → Sergey Kraynev (skraynev)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

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

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

Reviewed: https://review.openstack.org/83308
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=3028ac58bae8a8a206305e4dae86f57ce852fe49
Submitter: Jenkins
Branch: master

commit 3028ac58bae8a8a206305e4dae86f57ce852fe49
Author: Sergey Kraynev <email address hidden>
Date: Thu Mar 27 03:10:22 2014 -0400

    Fix using attributes in unittest

    Resource generic_rsrc.ResourceWithComplexAttributes does not have needed
    attributes in attribute schema and should be replaced on
    generic_rsrc.ResWithComplexPropsAndAttrs.

    Change-Id: I5ac60e95fe88bb7a2b9f4a2b612e55561afccd0d
    Closes-Bug: #1298204

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
milestone: none → icehouse-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: icehouse-rc1 → 2014.1
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.