Skip to content

Commit f409ee2

Browse files
committed
fix tests
1 parent ed41936 commit f409ee2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test_metrics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ def test_get_thread_count(self):
191191
"""Tests get thread count returns the expected number of threads
192192
based on number of metrics and collectors"""
193193
thread_count = self.prom_collector.get_thread_count()
194-
# Total of 9 metrics times 2 items in our mocked pool should give 18
195-
self.assertEqual(18, thread_count)
194+
# Total of 10 metrics times 2 items in our mocked pool should give 20
195+
self.assertEqual(20, thread_count)
196196

197197
def test_collect_thread_max_workers(self):
198198
"""Tests the max workers is correct for the collect threads"""

0 commit comments

Comments
 (0)