From 1a9eed75ac5dbe3b0eaaccd964185433e896e3cc Mon Sep 17 00:00:00 2001 From: emdneto <9735060+emdneto@users.noreply.github.com> Date: Wed, 3 Jul 2024 16:02:48 -0300 Subject: [PATCH] update tests --- .../tests/test_system_metrics.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/instrumentation/opentelemetry-instrumentation-system-metrics/tests/test_system_metrics.py b/instrumentation/opentelemetry-instrumentation-system-metrics/tests/test_system_metrics.py index b934ae8029..1d6f08892e 100644 --- a/instrumentation/opentelemetry-instrumentation-system-metrics/tests/test_system_metrics.py +++ b/instrumentation/opentelemetry-instrumentation-system-metrics/tests/test_system_metrics.py @@ -118,7 +118,7 @@ def test_system_metrics_instrument(self): f"process.runtime.{self.implementation}.thread_count", f"process.runtime.{self.implementation}.context_switches", f"process.runtime.{self.implementation}.cpu.utilization", - f"process.{self.implementation}.open_file_descriptor.count", + "process.open_file_descriptor.count", ] if self.implementation == "pypy": @@ -850,7 +850,7 @@ def test_open_file_descriptor_count(self, mock_process_num_fds): expected = [_SystemMetricsResult({}, 3)] self._test_metrics( - f"process.{self.implementation}.open_file_descriptor.count", + "process.open_file_descriptor.count", expected, ) mock_process_num_fds.assert_called()