nova/nova/tests
Russell Bryant d4d0eedeb4 Be more explicit about emptying connection pool.
This patch makes some code in test_qpid be more explicit about emptying
the connection pool.  It now ensures that it removes exactly how many
connections are in the pool.

The previous code made a couple of assumptions.  First, it assumed that
only one connection was in the pool (which is true, but it's still nice
not to make the assumption here in the cleanup code).  Second, it
assumed that free() returned the number of connections that have been
placed in the pool.  This is not correct.  The result also includes the
number of connections that could be created based on the max size of the
pool. Use the free_items attribute instead, which gives the exact number
of connections that have been put() in the pool.

Change-Id: I97378919c2d3e68f224862f07a75529575647163
2012-01-31 12:56:37 -05:00
..
CA
api Return instancesSet in TerminateInstances ec2 api 2012-01-31 21:20:04 +08:00
bundle
db KVM and XEN Disk Management Parity 2012-01-24 16:54:23 +00:00
glance Reducing the number of compute calls to Glance 2011-11-09 08:53:40 -05:00
image Remove 'location' from GlanceImageService 2012-01-11 13:36:23 -08:00
integrated Remove deprecated extension code. 2012-01-19 16:20:04 -06:00
monkey_patch_example Fixed some docstring 2011-08-23 09:46:49 -07:00
notifier ComputeNode Capacity support 2012-01-23 07:45:33 -08:00
rpc Be more explicit about emptying connection pool. 2012-01-31 12:56:37 -05:00
scheduler Adding live migration server actions 2012-01-26 04:38:41 -08:00
vmwareapi Convert vmwareapi code to UNIX style line endings 2012-01-25 12:08:12 +00:00
xenapi Blueprint xenapi-provider-firewall and Bug #915403. 2012-01-24 22:31:35 -08:00
__init__.py Separate metadata api into its own service 2011-11-15 13:27:58 -08:00
declare_flags.py Refactor away the flags.DEFINE_* helpers 2012-01-28 12:37:16 +00:00
fake_flags.py Adds simple policy engine support 2012-01-09 11:40:04 -08:00
fake_libvirt_utils.py First implementation of bp/live-migration-resource-calc 2012-01-13 15:24:28 +09:00
fake_network.py KVM and XEN Disk Management Parity 2012-01-24 16:54:23 +00:00
fake_network_cache_model.py Adds network model and network info cache. 2011-12-08 17:33:04 -06:00
fake_utils.py PEP8 remove direct type comparisons 2012-01-03 11:12:42 +08:00
fakelibvirt.py Fixed bug 912701 2012-01-18 14:44:05 +01:00
hyperv_unittest.py switch FLAGS.* = in tests to self.flags(...) 2011-08-03 12:22:58 -07:00
policy.json Merge "Add authorization checks to flavormanage extension" 2012-01-29 04:06:20 +00:00
runtime_flags.py Refactor away the flags.DEFINE_* helpers 2012-01-28 12:37:16 +00:00
test_SolidFireSanISCSIDriver.py Implementation of new Nova Volume driver for SolidFire ISCSI SAN 2012-01-30 11:19:52 -07:00
test_access.py fix test_access 2011-07-22 20:41:46 +00:00
test_adminapi.py Remove a whole bunch of unused imports 2012-01-13 13:55:38 -08:00
test_api.py Remove a whole bunch of unused imports 2012-01-13 13:55:38 -08:00
test_auth.py Create nova cert worker for x509 support 2012-01-24 15:10:34 -08:00
test_bdm.py ec2/cloud: unit tests for parser/formatter of block device mapping 2011-06-23 19:51:01 +09:00
test_block_device.py tests: unit tests for nova.block_device 2011-07-23 16:57:04 +09:00
test_cfg.py Merge "Fix some cfg test case naming conflicts" 2012-01-17 13:55:35 +00:00
test_compute.py Merge changes If0c92dca,I75d8b616 2012-01-26 19:02:25 +00:00
test_compute_utils.py KVM and XEN Disk Management Parity 2012-01-24 16:54:23 +00:00
test_console.py fix a whole bunch of tests 2011-07-22 00:39:53 +00:00
test_consoleauth.py Implements blueprint vnc-console-cleanup 2012-01-17 14:18:31 -08:00
test_context.py Update RequestContext so that it correctly sets self.is_admin from the 2011-08-29 22:27:28 -04:00
test_crypto.py Create nova cert worker for x509 support 2012-01-24 15:10:34 -08:00
test_db_api.py blueprint host-aggregates: OSAPI/virt integration, via nova.compute.api 2012-01-25 17:09:54 +00:00
test_direct.py Beef up nova/api/direct.py tests 2011-09-28 10:25:10 +01:00
test_exception.py Update exception.wrap_exception so that all exceptions (not just Error 2011-09-15 22:53:42 -04:00
test_fakelibvirt.py Extend test_virt_driver to also test libvirt driver. 2011-11-22 17:30:27 +01:00
test_flags.py Refactor away the flags.DEFINE_* helpers 2012-01-28 12:37:16 +00:00
test_image.py Extend fake image service to let it hold image data 2011-11-10 13:35:40 +01:00
test_instance_types.py KVM and XEN Disk Management Parity 2012-01-24 16:54:23 +00:00
test_instance_types_extra_specs.py Add an API extension for creating+deleting flavors 2012-01-24 13:30:23 -05:00
test_iptables_network.py Remove a whole bunch of unused imports 2012-01-13 13:55:38 -08:00
test_ipv6.py Remove a whole bunch of unused imports 2012-01-13 13:55:38 -08:00
test_iscsi.py Allow the user to choose either ietadm or tgtadm (lp:819997) 2011-10-13 07:34:40 +01:00
test_libvirt.py uses the instance uuid in libvirt by introducing a new variable 'uuid' for the used template instead of using a random uuid in libvirt 2012-01-26 22:29:30 +01:00
test_linux_net.py Implement BP untie-nova-network-models 2012-01-16 10:52:56 -06:00
test_local.py Adds test for local.py 2012-01-12 22:27:46 +00:00
test_localization.py Remove a whole bunch of unused imports 2012-01-13 13:55:38 -08:00
test_log.py
test_metadata.py Implement BP untie-nova-network-models 2012-01-16 10:52:56 -06:00
test_misc.py Bug #912858: test_authors_up_to_date does not deal with capitalized names properly 2012-01-06 17:49:57 +00:00
test_network.py Handle error in associate floating IP (bug 845507) 2012-01-23 22:22:11 -06:00
test_network_info.py Remove a whole bunch of unused imports 2012-01-13 13:55:38 -08:00
test_notifier.py Remove a whole bunch of unused imports 2012-01-13 13:55:38 -08:00
test_nova_manage.py Remove a whole bunch of unused imports 2012-01-13 13:55:38 -08:00
test_nova_rootwrap.py Add a specific filter for kill commands 2012-01-23 14:02:23 +01:00
test_objectstore.py clean up fake auth manager in other places 2011-07-22 21:36:41 +00:00
test_policy.py Ignore case in policy role checks. 2012-01-27 14:01:08 -05:00
test_quantum.py Merge "Add support for port security to QuantumManager" 2012-01-16 20:47:37 +00:00
test_quota.py KVM and XEN Disk Management Parity 2012-01-24 16:54:23 +00:00
test_service.py Refactor away the flags.DEFINE_* helpers 2012-01-28 12:37:16 +00:00
test_signer.py Fixes Bug #861293 2011-09-29 13:39:59 +01:00
test_skip_examples.py fixed pep8 issue 2011-08-04 23:01:22 -05:00
test_test.py ditched rpc.create_consumer(conn) interface... instead you now do conn.create_consumer(.. 2011-08-29 14:36:12 -07:00
test_test_utils.py Update a few doc strings. 2011-08-22 23:26:12 +02:00
test_utils.py ComputeNode Capacity support 2012-01-23 07:45:33 -08:00
test_versions.py Remove a whole bunch of unused imports 2012-01-13 13:55:38 -08:00
test_virt.py tests: unit tests for nova.virt 2011-07-23 16:57:05 +09:00
test_virt_drivers.py Implements blueprint vnc-console-cleanup 2012-01-17 14:18:31 -08:00
test_vmwareapi.py use name gateway_v6 instead of gateway6 2012-01-03 11:13:13 +08:00
test_volume.py Add policy checks to Volume.API 2012-01-15 19:39:08 -08:00
test_volume_types.py Remove a whole bunch of unused imports 2012-01-13 13:55:38 -08:00
test_volume_types_extra_specs.py Remove a whole bunch of unused imports 2012-01-13 13:55:38 -08:00
test_vsa.py Convert nova.volume.api.API to use volume objects 2012-01-13 16:59:50 -08:00
test_vsa_volumes.py Convert nova.volume.api.API to use volume objects 2012-01-13 16:59:50 -08:00
test_wsgi.py Moves find config to utils because it is useful 2011-12-10 14:01:17 -08:00
test_xenapi.py Blueprint xenapi-provider-firewall and Bug #915403. 2012-01-24 22:31:35 -08:00
utils.py KVM and XEN Disk Management Parity 2012-01-24 16:54:23 +00:00