diff options
author | Chris Behrens <cbehrens@codestud.com> | 2011-08-28 18:19:41 -0700 |
---|---|---|
committer | Chris Behrens <cbehrens@codestud.com> | 2011-08-28 18:19:41 -0700 |
commit | da11af2893719677a9113ce391d37b0dada6585c (patch) | |
tree | b2940e1cc12d3fadcc6d15edca296afdadffeb56 /nova/tests/test_test.py | |
parent | e5310d666f167efe6e3c9f97176d13801489fdfd (diff) | |
download | nova-da11af2893719677a9113ce391d37b0dada6585c.tar.gz nova-da11af2893719677a9113ce391d37b0dada6585c.tar.xz nova-da11af2893719677a9113ce391d37b0dada6585c.zip |
fix nova/tests/test_test.py
Diffstat (limited to 'nova/tests/test_test.py')
-rw-r--r-- | nova/tests/test_test.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nova/tests/test_test.py b/nova/tests/test_test.py index 64f11fa45..6075abbb0 100644 --- a/nova/tests/test_test.py +++ b/nova/tests/test_test.py @@ -40,6 +40,6 @@ class IsolationTestCase(test.TestCase): connection = rpc.create_connection(new=True) proxy = NeverCalled() - consumer = rpc.create_consumer(connection, 'compute', - proxy, fanout=False) - consumer.attach_to_eventlet() + rpc.create_consumer(connection, 'compute', + proxy, fanout=False) + connection.consume_in_thread() |