deb-ceilometer/ceilometer
Chris Dent 00aa6cec3e Make ConnectionRetryTest more reliable
The previous test relied on mocks of retrying.time.sleep. This is
the same sleep as time.sleep so there's a chance, if eventlet is in
context, that something else can call that.

So instead the test now checks to see how many times should_reject
is called. This is the same as the max retries that will be
attempted.

Also the retry wait time has been set to something very small so the
test doesn't hang around sleeping uselessly, making test runs
faster.

Change-Id: Ib15d4d6f8dd23ba534d58005da5dc64aad9e0e90
Closes-Bug: #1482722
2015-08-10 09:57:57 +01:00
..
agent Merge "Enable entry points for new declarative meters" 2015-08-07 14:11:20 +00:00
alarm Fix Python 3 issue in opendaylight client 2015-07-31 15:20:12 +02:00
api Stop using openstack.common from keystoneclient 2015-08-05 10:43:40 +02:00
cmd Merge "Remove unnecessary wrapping of transformer ExtentionManager" 2015-06-24 02:15:11 +00:00
compute Merge "Provide base method for inspect_memory_resident" 2015-07-31 20:35:37 +00:00
database add Trove(DBaaS) events 2015-07-16 05:35:14 +00:00
dispatcher gnocchi: retry with a new token on 401 2015-08-03 17:07:23 +02:00
dns Handles dns.domain.exists event in Ceilometer 2015-07-20 17:23:01 +00:00
energy use oslo.log instead of oslo-incubator code 2015-05-28 11:08:02 -04:00
event add mandatory limit value to event list 2015-07-22 09:48:08 -04:00
hacking Switch to the oslo_utils.fileutils 2015-07-19 23:46:28 +03:00
hardware Corrected unit of snmp based harware disk and memory meters 2015-07-31 12:10:39 -04:00
image Enable entry points for new declarative meters 2015-08-07 08:28:00 +00:00
ipmi Fix for rgw still throwing errors 2015-08-06 16:39:24 +00:00
locale Imported Translations from Transifex 2015-08-06 06:33:47 +00:00
meter Convert identity, sahara and volume to meters yaml 2015-08-07 08:30:33 +00:00
network Fix Python 3 issue in opendaylight client 2015-07-31 15:20:12 +02:00
objectstore Fix for rgw still throwing errors 2015-08-06 16:39:24 +00:00
profiler Convert identity, sahara and volume to meters yaml 2015-08-07 08:30:33 +00:00
publisher Fixes the kafka publisher 2015-08-06 11:53:11 +02:00
storage Cast Int64 values to float 2015-08-07 11:50:13 +03:00
telemetry Add handler of sample creation notification 2015-06-24 17:11:59 +08:00
tests Make ConnectionRetryTest more reliable 2015-08-10 09:57:57 +01:00
transformer Drop out-of-time-sequence rate of change samples 2015-07-30 07:52:56 +00:00
__init__.py Disable eventlet monkey-patching of DNS 2015-01-19 12:45:23 +00:00
collector.py Switch to oslo.service 2015-06-23 06:41:00 +02:00
coordination.py Make the partition coordinator log more readable 2015-07-30 16:42:54 +08:00
exchange_control.py Convert identity, sahara and volume to meters yaml 2015-08-07 08:30:33 +00:00
i18n.py switch to oslo_i18n 2015-01-12 20:16:20 +08:00
keystone_client.py Optionally create trust for alarm actions 2015-05-27 05:57:06 +02:00
messaging.py Clean the re-implemented serializers in Ceilometer 2015-07-15 09:28:12 +08:00
middleware.py Convert identity, sahara and volume to meters yaml 2015-08-07 08:30:33 +00:00
neutron_client.py use oslo.log instead of oslo-incubator code 2015-05-28 11:08:02 -04:00
notification.py Enable entry points for new declarative meters 2015-08-07 08:28:00 +00:00
nova_client.py Merge "Instance Cache in Node Discovery Pollster" 2015-07-29 17:44:57 +00:00
opts.py Convert identity, sahara and volume to meters yaml 2015-08-07 08:30:33 +00:00
pipeline.py distributed coordinated notifications 2015-07-24 17:04:49 -04:00
sample.py Add handler of sample creation notification 2015-06-24 17:11:59 +08:00
service_base.py Pollsters now send notifications without doing transforms 2015-07-20 14:09:11 +00:00
service.py use oslo.log instead of oslo-incubator code 2015-05-28 11:08:02 -04:00
utils.py Fix more tests on Python 3 2015-07-31 01:19:29 +02:00