Comment 2 for bug 727522

Revision history for this message
Vish Ishaya (vishvananda) wrote : Re: [Bug 727522] Re: test_network unit test cases fails for FlatDHCP/Flat network model

test_network was designed to test VlanNetwork, so this is not surprising. It should probably explicitly be VlanNetworkTestCase. Tests for for FlatDHCP and Flat would be useful, but it isn't expected that the same set of tests will pass in all three modes.

Vish

On Mar 3, 2011, at 6:26 AM, Thierry Carrez wrote:

> Could you post the list of tests that failed, and the bzr revision you
> tested ?
>
> ** Changed in: nova
> Status: New => Incomplete
>
> --
> You received this bug notification because you are a member of Nova Bug
> Team, which is subscribed to OpenStack Compute (nova).
> https://bugs.launchpad.net/bugs/727522
>
> Title:
> test_network unit test cases fails for FlatDHCP/Flat network model
>
> Status in OpenStack Compute (Nova):
> Incomplete
>
> Bug description:
> I modified fake_flags.py and added following before I ran the
> test_network test.
>
> flags.DECLARE('network_manager', 'nova.network.manager')
> FLAGS.network_manager='nova.network.manager.FlatManager'
>
> following are the results after running the test_network:NetworkTestCase test.
> Ran 10 tests in 5.746s
> FAILED (errors=7, failures=2)
>
> For FlatManager, I am getting 7 errors and 2 failures.
> For FlatDHCPManager, I am getting 1 error and 4 failures.
> For VlanManager, all test cases are successful.