yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #47242
[Bug 1545218] Re: TestMl2PortsV2.test_update_port_host_id_changed may fail depending on ML2 driver
Reviewed: https://review.openstack.org/279843
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=ad7b72963d462f9a512eca3b5a054d8ea33f2324
Submitter: Jenkins
Branch: master
commit ad7b72963d462f9a512eca3b5a054d8ea33f2324
Author: Isaku Yamahata <isaku.yamahata@xxxxxxxxx>
Date: Fri Feb 12 18:53:38 2016 -0800
unbreak unit test caused by c5fa665de3173f3ad82cc3e7624b5968bc52c08d
The change set of c5fa665de3173f3ad82cc3e7624b5968bc52c08d
introduced a new test TestMl2PortsV2.test_update_port_host_id_changed
which isn't always correct depending on driver.
ML2 driver may change port status to ACTIVE on port binding.
With such driver, the test fails. Grep showed 5 decomposed driver
don't have the assumption.
So this patch makes the test to run only _process_bind_port() without
calling full update_port() so that precommit/postcommit don't get
involved.
Change-Id: Ib034e2121914e5f253eb673261f26b4c8487f431
Closes-Bug: #1545218
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1545218
Title:
TestMl2PortsV2.test_update_port_host_id_changed may fail depending on
ML2 driver
Status in networking-odl:
In Progress
Status in neutron:
Fix Released
Bug description:
TestMl2PortsV2.test_update_port_host_id_changed may fail depending on
ML2 driver.
Concretely with ODL ML2 driver, the test fails because it changes port status to ACTIVE on port binding.
The assumption of the test is not always true.
To manage notifications about this bug go to:
https://bugs.launchpad.net/networking-odl/+bug/1545218/+subscriptions
References