Code review comment for lp:~tr3buchet/nova/multi_nic

Revision history for this message
Koji Iida (iida-koji) wrote :

Hi Trey,

Thank you for your effort.

> same problem with test_run_with_snapshot hanging..

I think flag stub_network should be set to True.

=== modified file 'nova/tests/test_cloud.py'
--- nova/tests/test_cloud.py 2011-06-20 16:23:49 +0000
+++ nova/tests/test_cloud.py 2011-06-22 06:43:29 +0000
@@ -45,7 +45,8 @@
 class CloudTestCase(test.TestCase):
     def setUp(self):
         super(CloudTestCase, self).setUp()
- self.flags(connection_type='fake')
+ self.flags(connection_type='fake',
+ stub_network=True)

         self.conn = rpc.Connection.instance()

I hope this patch helps you.

review: Needs Fixing

« Back to merge proposal