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.
« Back to merge proposal
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' test_cloud. py 2011-06-20 16:23:49 +0000 test_cloud. py 2011-06-22 06:43:29 +0000 test.TestCase) :
super( CloudTestCase, self).setUp() connection_ type='fake' ) connection_ type='fake' ,
--- nova/tests/
+++ nova/tests/
@@ -45,7 +45,8 @@
class CloudTestCase(
def setUp(self):
- self.flags(
+ self.flags(
+ stub_network=True)
self.conn = rpc.Connection. instance( )
I hope this patch helps you.