Fix spice/vnc console api samples tests

Start the consoleauth service, otherwise authorize_console() will fail
if we start timing out call()s in the fake RPC driver when there are no
consumers for a topic.

blueprint: oslo-messaging
Change-Id: Ieee37a0370c0b548c589a0573e6e8a68e10a6fdc
This commit is contained in:
Mark McLoughlin 2013-08-19 21:48:41 +01:00
parent 69a4e6cde8
commit d6cc2fa575
5 changed files with 15 additions and 2 deletions

@ -29,6 +29,11 @@
"host_name": "39f55087a1024d1380755951c945ca69",
"service": "cells",
"zone": "internal"
},
{
"host_name": "7a9a6cb4701f4dee9048fe0bc25d0ee5",
"service": "consoleauth",
"zone": "internal"
}
]
}

@ -6,4 +6,5 @@
<host zone="internal" host_name="ea70b9f0c530497fba8571deb4835ab0" service="network"/>
<host zone="internal" host_name="7d52ad3988504fb18b0cdfd94dbd267b" service="scheduler"/>
<host zone="internal" host_name="dc36bce962cc49c2ab916287bcf6c9d3" service="cells"/>
</hosts>
<host zone="internal" host_name="4bd7bbcc80064d21a5fd0bd53318c6fa" service="consoleauth"/>
</hosts>

@ -29,6 +29,11 @@
"host_name": "%(host_name)s",
"service": "cells",
"zone": "internal"
},
{
"host_name": "%(host_name)s",
"service": "consoleauth",
"zone": "internal"
}
]
}

@ -6,4 +6,5 @@
<host host_name="%(host_name)s" service="scheduler" zone="internal"/>
<host host_name="%(host_name)s" service="conductor" zone="internal"/>
<host host_name="%(host_name)s" service="cells" zone="internal"/>
<host host_name="%(host_name)s" service="consoleauth" zone="internal"/>
</hosts>

@ -83,7 +83,8 @@ class _IntegratedTestBase(test.TestCase):
self.conductor = self.start_service('conductor',
manager=CONF.conductor.manager)
self.compute = self.start_service('compute')
self.scheduler = self.start_service('cert')
self.cert = self.start_service('cert')
self.consoleauth = self.start_service('consoleauth')
self.network = self.start_service('network')
self.scheduler = self.start_service('scheduler')
self.cells = self.start_service('cells', manager=CONF.cells.manager)