mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-23 04:48:43 +00:00
OpenMetrics test suite: Add a check to see whether our stats were parsed at all.
This commit is contained in:
parent
21c471ed81
commit
6bcff5472b
@ -120,3 +120,7 @@ class OpenMetrics(unittest.TestCase):
|
||||
# Wrapped in a list() to drain the generator.
|
||||
families = list(parser.text_string_to_metric_families(metrics))
|
||||
|
||||
# Has the parser parsed our data?
|
||||
# Just check the last item.
|
||||
self.assertEqual(families[-1].name, u"tahoe_stats_storage_server_total_bucket_count")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user