add cleanup when creating templates in integration tests

Bug #1413303 reported by lu huichun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
High
lu huichun

Bug Description

in cdh, hdp2, spark , vanilla_two integration test gating file, there is no addCleanup when creating node group template, cluster template, and cluster,If setUp() fails, meaning that tearDown() is not called, then any cleanup functions added will still be called.

lu huichun (lhcxx0508)
Changed in sahara:
assignee: nobody → lu huichun (lhcxx0508)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to sahara (master)

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

Changed in sahara:
status: New → In Progress
Changed in sahara:
importance: Undecided → Medium
milestone: none → kilo-2
Changed in sahara:
importance: Medium → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara (master)

Reviewed: https://review.openstack.org/149732
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=55a33c42150670285c23f5d9981750182ba20124
Submitter: Jenkins
Branch: master

commit 55a33c42150670285c23f5d9981750182ba20124
Author: luhuichun <email address hidden>
Date: Sat Jan 24 03:23:24 2015 +0800

    Add cleanup in the integration test gating file

    If setup() fails, meaning that tearDown() is not called, then any
    cleanup functions added will still be called

    Closes-bug: #1413303
    Change-Id: I5d2e03dcfbca466da8dc83e22fb5fd57e7d8ee13

Changed in sahara:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in sahara:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in sahara:
milestone: kilo-2 → 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.