This is an automated email from the ASF dual-hosted git repository.

ivandasch pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new cb84026882e IGNITE-24125 [ducktests] Fix JMXClient to read MBeans with 
names containing spaces (#11781)
cb84026882e is described below

commit cb84026882e2c79d0122488c8e355a3d649b387a
Author: Sergey Korotkov <[email protected]>
AuthorDate: Sun Dec 29 01:20:18 2024 +0700

    IGNITE-24125 [ducktests] Fix JMXClient to read MBeans with names containing 
spaces (#11781)
---
 modules/ducktests/tests/ignitetest/services/utils/jmx_utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/ducktests/tests/ignitetest/services/utils/jmx_utils.py 
b/modules/ducktests/tests/ignitetest/services/utils/jmx_utils.py
index e01bb4c7d6e..462e7864e16 100644
--- a/modules/ducktests/tests/ignitetest/services/utils/jmx_utils.py
+++ b/modules/ducktests/tests/ignitetest/services/utils/jmx_utils.py
@@ -99,7 +99,7 @@ class JmxClient:
         :return: Attribute value
         """
         cmd = "echo $'open %s\\n get -b %s %s \\n close' | %s | sed 's/%s = 
\\(.*\\);/\\1/'" \
-              % (self.pid, mbean, attr, self.jmx_util_cmd, attr)
+              % (self.pid, mbean.replace(' ', '\\ '), attr, self.jmx_util_cmd, 
attr)
 
         return iter(s.strip() for s in self.__run_cmd(cmd))
 

Reply via email to