From 84e727a489a5fe485b624225fbb1a68525d78b81 Mon Sep 17 00:00:00 2001 From: Akash Chandra Date: Fri, 6 Sep 2024 16:32:03 +0530 Subject: [PATCH] Fix: Error Response from 7.2 Error Syntax has changed to ERROR: --- lib/live_cluster/client/node.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/live_cluster/client/node.py b/lib/live_cluster/client/node.py index 77163b6f..e95ce4a9 100644 --- a/lib/live_cluster/client/node.py +++ b/lib/live_cluster/client/node.py @@ -2087,7 +2087,8 @@ async def info_latencies( hist_info.append(await self._info(cmd)) except Exception: return data - if hist_info[-1].startswith("error"): + # TOOLS-2964: Error came as ERROR for 7.2 onwards + if hist_info[-1].startswith("error") or hist_info[-1].startswith("ERROR"): hist_info.pop() continue