aodh/tools
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
..
config sync oslo code 2014-06-18 11:33:04 -04:00
__init__.py Adding init into tools folder 2014-08-11 13:02:52 +02:00
debug_helper.sh Debug env for tox 2014-07-31 15:11:11 -04:00
enable_notifications.sh update Quantum references to Neutron 2013-07-02 22:14:39 -04:00
make_test_data.py Switch to oslo.utils 2014-08-22 14:52:13 +02:00
make_test_data.sh Flatten the v2 API 2013-01-19 16:57:57 +11:00
release-bugs.py Remove (c) and remove unnecessary encoding lines 2014-05-31 13:02:21 +02:00
show_data.py Merge "Fix make_test_data tools script" 2014-08-06 14:01:01 +00:00
test_hbase_table_utils.py [HBase] Improves speed of unit tests on real HBase backend 2014-09-24 15:08:36 +04:00