OpenStack Telemetry (Ceilometer) Alarming
Go to file
ZhiQiang Fan 5b8c72c3ea Correct alarm timestamp field in unittest code
This patch corrects some code in unit test which relates to timestamp
issue. timestamp and state_timestamp fields will always be set, but
test code sometimes sets them to None, which will affect source code
to consider the scenario timestamp is None, in fact, this would never
happen in API call.

This patch adds a type check for timestamp and state_timestamp
in alarm.storage.models.Alarm, to prevent contributors to accidently
set these two fields to None.

Change-Id: I035b4f0f9c1ff7f4158c72acfddaf02e55891086
2014-11-07 11:02:39 +08:00
bin Remove (c) and remove unnecessary encoding lines 2014-05-31 13:02:21 +02:00
ceilometer Correct alarm timestamp field in unittest code 2014-11-07 11:02:39 +08:00
doc Improve manual.rst file 2014-10-29 10:22:53 +02:00
etc support request-id 2014-10-22 13:38:25 -04:00
nova_tests Switch to oslo.utils 2014-08-22 14:52:13 +02:00
tools Fix columns migrating for PostgreSQL 2014-10-27 12:35:17 -04:00
.coveragerc test code should be excluded from test coverage summary 2013-12-11 11:40:51 -05:00
.gitignore Adds pylint check for critical error in new patches 2014-10-07 17:27:30 +03:00
.gitreview Update .gitreview for openstack. 2012-11-11 19:13:08 +00:00
.mailmap add mailmap to avoid dup of authors 2014-10-09 10:31:23 +03:00
.testr.conf Eliminate unnecessary search for test cases 2014-09-16 14:21:37 +08: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
functions.sh Run unit tests against MySQL 2014-10-01 10:26:27 +02: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 switch to oslo-config-generator 2014-10-12 16:05:10 -04:00
pylintrc Adds pylint check for critical error in new patches 2014-10-07 17:27:30 +03: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-10-27 12:14:54 +00:00
requirements.txt remove ordereddict requirement 2014-10-29 09:34:25 -04:00
setup-test-env-mongodb.sh Run unit tests against MySQL 2014-10-01 10:26:27 +02:00
setup-test-env-mysql.sh Creates one database per sql test 2014-10-07 16:40:59 +02:00
setup-test-env-postgresql.sh Sets default encoding for PostgreSQL testing 2014-10-09 18:36:04 +02:00
setup.cfg switch to oslo-config-generator 2014-10-12 16:05:10 -04:00
setup.py Updated from global requirements 2014-05-20 12:59:42 -04:00
test-requirements-py3.txt Updated from global requirements 2014-10-22 19:10:09 +00:00
test-requirements.txt Updated from global requirements 2014-10-22 19:10:09 +00:00
tox.ini Fix hacking rule H305 imports not grouped correctly 2014-10-30 01:31:43 +08:00

ceilometer

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

http://launchpad.net/ceilometer