summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorZhiQiang Fan <aji.zqfan@gmail.com>2014-10-31 03:53:17 +0800
committerZhiQiang Fan <aji.zqfan@gmail.com>2014-10-31 03:57:34 +0800
commit1e71626bbad1bffbb375428681523692c7d39635 (patch)
tree0c4efb929aa56033a38a2043c1519297f0d0e774 /tools
parent6eac31861268e282b96eb5b5c5d2b20fd7e660a8 (diff)
downloadceilometer-1e71626bbad1bffbb375428681523692c7d39635.tar.gz
Add event storage for test_hbase_table_utils
event storage has been independent now, sync it to tools/test_hbase_table_utils.py. Change-Id: I38e467ab18c317ad12d66f641ad4419c0fe33bee
Diffstat (limited to 'tools')
-rw-r--r--tools/test_hbase_table_utils.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/test_hbase_table_utils.py b/tools/test_hbase_table_utils.py
index 5ecc49ad..92dc674f 100644
--- a/tools/test_hbase_table_utils.py
+++ b/tools/test_hbase_table_utils.py
@@ -1,4 +1,4 @@
- # Licensed under the Apache License, Version 2.0 (the "License"); you may
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
@@ -25,14 +25,17 @@ def main(argv):
os.getenv("CEILOMETER_TEST_HBASE_TABLE_PREFIX", "test")))
conn = storage.get_connection(url, 'ceilometer.metering.storage')
alarm_conn = storage.get_connection(url, 'ceilometer.alarm.storage')
+ event_conn = storage.get_connection(url, 'ceilometer.event.storage')
for arg in argv:
if arg == "--upgrade":
conn.upgrade()
alarm_conn.upgrade()
+ event_conn.upgrade()
if arg == "--clear":
conn.clear()
alarm_conn.clear()
+ event_conn.clear()
if __name__ == '__main__':
- main(sys.argv[1:]) \ No newline at end of file
+ main(sys.argv[1:])