mirror of
https://github.com/element-hq/synapse.git
synced 2026-11-13 07:38:07 +00:00
Update tests/metrics/test_thread_cpu.py
Co-authored-by: Eric Eastwood <erice@element.io>
This commit is contained in:
1 parent
5dbf7995e7
commit
f8831ac0b4
1 file changed
+1
-1
@@ -57,7 +57,7 @@ class ThreadCPUMetricsTestCase(unittest.TestCase):
|
||||
type, and the types add up to the CPU the whole process used.
|
||||
"""
|
||||
if not os.path.isdir("/proc/self/task"):
|
||||
self.skipTest("thread CPU metrics need /proc/self/task (Linux only)")
|
||||
self.skipTest("Skipping as `ThreadCPUMetrics` tests require /proc/self/task (Linux only)")
|
||||
|
||||
# A fresh collector, so threads registered elsewhere don't count. It
|
||||
# reports process-level metrics, so it has no `SERVER_NAME_LABEL`.
|
||||
|
||||
Reference in new issue
Block a user