OpenStack Telemetry (Ceilometer) Alarming
Go to file
Ilya Tyaptin 125d950dd4 [HBase] Improves speed of unit tests on real HBase backend
Currently, unittests at real HBase are not usually used.
Jenkins jobs and a predominant amount of developers use
HBase mock. One of the reasons for this is that unittests at real
HBase are too slow. It's due to processing of "disable_table"
and "delete_table" commands. In HBase these command take up
to 1-2 seconds. Now we create all table-set for each test that's
why at real HBase unit tests may be executed several hours.
So, at real HBase backend unit tests may be executed several hours.

My CR speeds up this case. To solve this problem it was decided
to keep all test data in one table. To provide a distinguishability
of data from different tests unique row-prefix is used for each one.

Creating and deleting required table are implements at
setup-test-env.sh.
Separating data is implemented with mock.patchs which transforms row
value in happybase.Table methods.

Change-Id: I1883d6e0619b0b2f223a4e58bdc0fc0656636e1f
Closes-bug: #1372912
2014-09-24 15:08:36 +04:00
bin Remove (c) and remove unnecessary encoding lines 2014-05-31 13:02:21 +02:00
ceilometer [HBase] Improves speed of unit tests on real HBase backend 2014-09-24 15:08:36 +04:00
doc Merge "Enable to get service types from configuration file" 2014-09-22 13:34:50 +00:00
etc Add IPMI support 2014-09-13 15:38:25 +08:00
nova_tests Switch to oslo.utils 2014-08-22 14:52:13 +02:00
tools [HBase] Improves speed of unit tests on real HBase backend 2014-09-24 15:08:36 +04:00
.coveragerc test code should be excluded from test coverage summary 2013-12-11 11:40:51 -05:00
.gitignore Clean up .gitignore 2014-06-16 09:00:22 +02:00
.gitreview Update .gitreview for openstack. 2012-11-11 19:13:08 +00:00
.testr.conf Fix tests with testtools>=0.9.39 2014-09-08 10:57:40 +02:00
babel.cfg Ground work for transifex-ify ceilometer. 2012-12-18 10:14:03 +08:00
CONTRIBUTING.rst Fix the section name in CONTRIBUTING.rst 2014-07-01 14:56:49 +08:00
LICENSE include a copy of the ASL 2.0 2013-03-15 14:25:48 +00:00
MAINTAINERS Fix some spelling mistakes and a incorrect url 2014-03-06 11:28:50 +08:00
openstack-common.conf Add IPMI support 2014-09-13 15:38:25 +08:00
README.rst Rename README.md to README.rst 2013-07-14 21:09:38 +02:00
ReleaseNotes Update documentation URL 2012-12-05 10:22:43 +01:00
requirements-py3.txt Updated from global requirements 2014-09-19 09:15:59 +00:00
requirements.txt Updated from global requirements 2014-09-19 09:15:59 +00:00
setup-test-env.sh [HBase] Improves speed of unit tests on real HBase backend 2014-09-24 15:08:36 +04:00
setup.cfg Merge "Partition swift pollster resources by tenant" 2014-09-18 07:25:58 +00:00
setup.py Updated from global requirements 2014-05-20 12:59:42 -04:00
test-requirements-py3.txt Updated from global requirements 2014-09-19 09:15:59 +00:00
test-requirements.txt Updated from global requirements 2014-09-19 09:15:59 +00:00
tox.ini re-add hashseed to avoid gate error 2014-08-22 17:37:23 -04:00

ceilometer

See the ReleaseNotes document and the project home for more info.

http://launchpad.net/ceilometer