Update alarms count tests
Updates alarms count test for multiple metric dimension values. Change-Id: Idd2b5b66700a3c1234b22fad98020e31369f60f3 Story: 2005311 Task: 30278
This commit is contained in:
parent
71817e2ede
commit
46a97d9c52
|
@ -276,6 +276,16 @@ class TestAlarmsCount(base.BaseMonascaTest):
|
||||||
def test_filter_multiple_dimensions(self):
|
def test_filter_multiple_dimensions(self):
|
||||||
self.run_count_test("?metric_dimensions=hostname:test_1,unique:1")
|
self.run_count_test("?metric_dimensions=hostname:test_1,unique:1")
|
||||||
|
|
||||||
|
# test with multiple metric dimensions values
|
||||||
|
@decorators.attr(type='gate')
|
||||||
|
def test_filter_multiple_dimensions_values_1(self):
|
||||||
|
self.run_count_test("?metric_dimensions=hostname:test_1|test_2,unique:1")
|
||||||
|
|
||||||
|
# test with multiple metric dimensions values (order should not matter)
|
||||||
|
@decorators.attr(type='gate')
|
||||||
|
def test_filter_multiple_dimensions_values_2(self):
|
||||||
|
self.run_count_test("?metric_dimensions=hostname:test_2|test_1,unique:1")
|
||||||
|
|
||||||
# test with filter and group_by parameters
|
# test with filter and group_by parameters
|
||||||
@decorators.attr(type='gate')
|
@decorators.attr(type='gate')
|
||||||
def test_filter_and_group_by_params(self):
|
def test_filter_and_group_by_params(self):
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
other:
|
||||||
|
- |
|
||||||
|
Update alarms count tests to test a query string with multiple
|
||||||
|
metric_dimension values.
|
Loading…
Reference in New Issue