Update openvswitch tunnel unittest

Bug #1029024 reported by Aaron Rosen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Aaron Rosen

Bug Description

I forgot to update the unit test for openvswitch when the following patch was committed: https://github.com/openstack/quantum/commit/e702264e310714a2369713fad95264d3ccedb66b

This causes the following error when running the unittests:

======================================================================
ERROR: testPortBound (quantum.plugins.openvswitch.tests.unit.test_tunnel.TunnelTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/stack/quantum/quantum/plugins/openvswitch/tests/unit/test_tunnel.py", line 132, in testPortBound
    a.port_bound(VIF_PORT, NET_UUID, LS_ID)
  File "/opt/stack/quantum/quantum/plugins/openvswitch/agent/ovs_quantum_agent.py", line 351, in port_bound
    if int(port.ofport) != -1:
ValueError: invalid literal for int() with base 10: 'ofport'

Aaron Rosen (arosen)
Changed in quantum:
assignee: nobody → Aaron Rosen (arosen)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (master)

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

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

Reviewed: https://review.openstack.org/10284
Committed: http://github.com/openstack/quantum/commit/ef6af3e3d2da3e1483b201b98b06c4555e90f6e7
Submitter: Jenkins
Branch: master

commit ef6af3e3d2da3e1483b201b98b06c4555e90f6e7
Author: aaronorosen <email address hidden>
Date: Wed Jul 25 13:35:28 2012 -0400

    Update openvswitch tunnel unittest

    Bug #1029024

    Change-Id: Ie37ef0c3355e86f504fa71417921bb828b40e347

Changed in quantum:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in quantum:
milestone: none → folsom-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: folsom-3 → 2012.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.