panko/ceilometer/tests
Mehdi Abaakouk fb0601a90d Fixes the kafka publisher
The kafka publusher is not concurrency safe at all.
And the sample/event payload cannot be serialized correctly

To fix that:
* the code now is shared with the messaging one.
* the connection to kafka is done before sending messaging to not touch
  the queue
* use jsonutils to serialize samples

Change-Id: I3fb731d2eb33cbfba38c5165ce9874af89072e34
Closes-bug: #1479976
2015-08-06 11:53:11 +02:00
..
functional Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
integration tests: add an integration test 2015-07-30 19:52:58 +02:00
unit Fixes the kafka publisher 2015-08-06 11:53:11 +02:00
__init__.py Skeleton for API server 2012-07-27 10:34:36 -04:00
base.py monkey_patch thread in tests 2015-07-14 18:58:33 +00:00
constants.py Correct alarm timestamp field in unittest code 2014-11-07 11:02:39 +08:00
db.py Close and dispose test database setup connections 2015-07-23 16:14:57 +00:00
mocks.py [HBase] Improves speed of unit tests on real HBase backend 2014-09-24 15:08:36 +04:00
pipeline_base.py drop deprecated pipeline 2015-07-02 21:39:39 -04:00