test_create_instance_with_neutronv2_fixed_ip_already_in_use does not test the purposes.

Bug #1331317 reported by Ken'ichi Ohmichi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Ken'ichi Ohmichi

Bug Description

In test_create_instance_with_neutronv2_fixed_ip_already_in_use of both
v2 and v3, these tests pass wrong parameters "fixed-ip" instead of
valid parameter "fixed_ip".
The purposes of these tests are to check the behaviors when passing
in-use addresses, but current tests contain two negative factors and
we cannot test the purposes now.

Revision history for this message
Ken'ichi Ohmichi (oomichi) wrote :

https://review.openstack.org/100770 is posted for fixing this problem.

Changed in nova:
assignee: nobody → Ken'ichi Ohmichi (oomichi)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/100770
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=32cc13365be9baba7a1d50fae397f1b597ff505b
Submitter: Jenkins
Branch: master

commit 32cc13365be9baba7a1d50fae397f1b597ff505b
Author: Ken'ichi Ohmichi <email address hidden>
Date: Wed Jun 18 14:44:05 2014 +0900

    Fix "fixed_ip" parameters in unit tests

    In test_create_instance_with_neutronv2_fixed_ip_already_in_use of both
    v2 and v3, these tests pass wrong parameters "fixed-ip" instead of
    valid parameter "fixed_ip".
    The purposes of these tests are to check the behaviors when passing
    in-use addresses, but current tests contain two negative factors and
    we cannot test the purposes now.

    This patch fixes the parameters. This problem was detected through the
    API validation works and Ic17d2227909c9180ca86c9d578dad4c73ec57dfc needs
    this fixing.

    Change-Id: I4d54a1522983c996431b995ed157b32d13c3bc88
    Closes-Bug: #1331317

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