From 9487db44eb6aafbe88880b5e827e35f78cda1826 Mon Sep 17 00:00:00 2001 From: Akash Chandra Date: Fri, 22 Nov 2024 10:45:47 +0530 Subject: [PATCH 1/2] fix: show latencies throws error --- lib/live_cluster/client/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/live_cluster/client/node.py b/lib/live_cluster/client/node.py index 8b83ea00..e74f0114 100644 --- a/lib/live_cluster/client/node.py +++ b/lib/live_cluster/client/node.py @@ -2067,7 +2067,7 @@ async def info_latencies( return data micro_benchmarks = [ "proxy", - "benchmark-fabric", + "benchmarks-fabric", "benchmarks-ops-sub", "benchmarks-read", "benchmarks-write", From 81901d0b552ea2bcdeb1a963e71c6ac0fffbc6c5 Mon Sep 17 00:00:00 2001 From: Akash Chandra Date: Fri, 22 Nov 2024 10:49:33 +0530 Subject: [PATCH 2/2] fix: Fix Unit Test Cases --- test/unit/live_cluster/client/test_node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/live_cluster/client/test_node.py b/test/unit/live_cluster/client/test_node.py index 283ba302..7b43f922 100644 --- a/test/unit/live_cluster/client/test_node.py +++ b/test/unit/live_cluster/client/test_node.py @@ -1747,7 +1747,7 @@ async def test_info_latencies_verbose(self): self.info_mock.assert_any_call("latencies:", self.ip) self.info_mock.assert_any_call("latencies:hist={test}-proxy", self.ip) self.info_mock.assert_any_call( - "latencies:hist={test}-benchmark-fabric", self.ip + "latencies:hist={test}-benchmarks-fabric", self.ip ) self.info_mock.assert_any_call( "latencies:hist={test}-benchmarks-ops-sub", self.ip