cinder/cinder/tests/unit
John Griffith 85b9a70a41 Fake out sleeps in unit tests
Just a minor cleanup, had a few tests that were doing sleeps
(or looping calls for those that prefer it) that were being
executed to test timeouts in the unit tests.  No value in
actually *waiting* for these, so this patch just mocks them
out so we still test the procedure but don't actually have
to wait.

This shaves about 30 seconds or so off of the unit test run,
not a huge deal, but every little bit helps IMO.

Also noticed a LOG.debug message in the test_extensions file
that wasn't picked up in other cleanup work so I removed that
debug log call as well.

Change-Id: I415ac75816e8a0f4c48c61b23391df1a9a016d62
2015-05-01 15:38:34 -06:00
..
api Don't truncate osapi_volume_link prefixes 2015-04-24 11:24:17 +08:00
backup Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
brick Fake out sleeps in unit tests 2015-05-01 15:38:34 -06:00
compute Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
db Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
glance Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
image Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
integrated Fake out sleeps in unit tests 2015-05-01 15:38:34 -06:00
keymgr Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
monkey_patch_example Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
objects Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
scheduler Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
targets Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
var Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
volume NetApp E-Series: Fix instance live-migration with attached volumes 2015-04-23 14:57:38 +00:00
windows Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
xenapi Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
zonemanager Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
cast_as_call.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
conf_fixture.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
declare_conf.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_driver.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_hp_3par_client.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_hp_client_exceptions.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_hp_lefthand_client.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_notifier.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_snapshot.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_utils.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_vmem_client.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_volume.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
policy.json Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
runtime_conf.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_api.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_api_urlmap.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_backup.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_backup_ceph.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_backup_driver_base.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_backup_swift.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_backup_tsm.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_block_device.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_cloudbyte.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_cmd.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_conf.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_context.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_create_volume_flow.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_db_api.py Add test case for volume_encryption_metadata_get 2015-04-24 10:46:37 -04:00
test_dellfc.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_dellsc.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_dellscapi.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_emc_vmax.py Fixed issue with mismatched config in VMAX driver 2015-04-23 23:05:21 -04:00
test_emc_vnxdirect.py Merge "Remove redundant code from VNX Cinder Driver" 2015-04-28 06:22:35 +00:00
test_emc_xtremio.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_eqlx.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_evaluator.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_exception.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_glusterfs.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_gpfs.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_hacking.py Leverage timeutils, drop strtime() usage 2015-04-23 10:33:55 +02:00
test_hds.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_hds_hnas_backend.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_hds_iscsi.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_hds_nfs.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_hitachi_hbsd_horcm_fc.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_hitachi_hbsd_snm2_fc.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_hitachi_hbsd_snm2_iscsi.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_hp3par.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_hplefthand.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_huawei_18000.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_huawei_drivers_compatibility.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_ibm_flashsystem.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_ibm_xiv_ds8k.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_ibmnas.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_image_utils.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_migrations.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_misc.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_netapp.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_netapp_eseries_iscsi.py NetApp E-Series: Fix instance live-migration with attached volumes 2015-04-23 14:57:38 +00:00
test_netapp_nfs.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_netapp_ssc.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_nfs.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_nimble.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_openvstorage.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_prophetstor_dpl.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_pure.py Enable use of filter_function in PureISCIDriver 2015-04-23 09:44:44 -07:00
test_qos_specs.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_quobyte.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_quota.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_rbd.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_remotefs.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_replication.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_san.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_scality.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_service.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_sheepdog.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_smbfs.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_solidfire.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_srb.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_storwize_svc.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_test.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_test_utils.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_utils.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_v6000_common.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_v6000_fcp.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_v6000_iscsi.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_vmware_datastore.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_vmware_vmdk.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_vmware_volumeops.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_volume.py Fake out sleeps in unit tests 2015-05-01 15:38:34 -06:00
test_volume_configuration.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_volume_glance_metadata.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_volume_rpcapi.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_volume_throttling.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_volume_transfer.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_volume_types.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_volume_types_extra_specs.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_volume_utils.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_wsgi.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_xio.py Fake out sleeps in unit tests 2015-05-01 15:38:34 -06:00
test_zfssa.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
utils.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00