The nova.tests.servicegroup.test_zk_driver Module

Test the ZooKeeper driver for servicegroup.

You need to install ZooKeeper locally and related dependencies to run the test. It’s unclear how to install python-zookeeper lib in venv so you might have to run the test without it.

To set up in Ubuntu 12.04: $ sudo apt-get install zookeeper zookeeperd python-zookeeper $ sudo pip install evzookeeper $ nosetests nova.tests.servicegroup.test_zk_driver

class ZKServiceGroupTestCase(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
test_join_leave()
test_stop()

Previous topic

The nova.tests.servicegroup.test_mc_servicegroup Module

Next topic

The nova.tests.test_api Module

This Page