Add negative API tests that try to remove the resources in use.

Bug #1582086 reported by Maho Koshiya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Maho Koshiya

Bug Description

The tests that remove resources in use are not covered enough in api tests.

E.g.: The test that try to delete the router in which interface has been added, without running router_remove_interface API.

These tests are necessary for it avoid that the user can delete resources in use by mistake.

Changed in neutron:
status: New → In Progress
assignee: nobody → Maho Koshiya (koshiya-maho)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

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

Changed in neutron:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/316592
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=18d16cfb4327fd76cd11986c6552c48a0e85833f
Submitter: Jenkins
Branch: master

commit 18d16cfb4327fd76cd11986c6552c48a0e85833f
Author: Maho Koshiya <email address hidden>
Date: Sun May 15 13:23:44 2016 +0900

    Add negative API tests that try to remove the resources in use.

    The tests that remove resources in use are not covered enough
    in api tests. This patch include test case of network, subnet
    and router delete in use.

    Change-Id: Id9d04f071e5a4b3553e97a5eee4431fb601a9c7f
    Closes-bug: #1582086

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/neutron 9.0.0.0b1

This issue was fixed in the openstack/neutron 9.0.0.0b1 development milestone.

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.