Skip to content

Commit

Permalink
Add ops sec metric assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristineTChen committed Jan 30, 2021
1 parent 3812cf4 commit fd814fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aerospike/tests/test_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,7 @@ def test_collect_latencies_parser(aggregator):
tags=['namespace:{}'.format('test')],
)

aggregator.assert_metric(
'aerospike.namespace.latency.{}_ops_sec'.format(type), tags=['namespace:{}'.format('test')]
)
aggregator.assert_all_metrics_covered()

0 comments on commit fd814fa

Please sign in to comment.