Skip to content

Commit cb84026

Browse files
authored
IGNITE-24125 [ducktests] Fix JMXClient to read MBeans with names containing spaces (#11781)
1 parent 385a810 commit cb84026

File tree

1 file changed

+1
-1
lines changed
  • modules/ducktests/tests/ignitetest/services/utils

1 file changed

+1
-1
lines changed

modules/ducktests/tests/ignitetest/services/utils/jmx_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def mbean_attribute(self, mbean, attr):
9999
:return: Attribute value
100100
"""
101101
cmd = "echo $'open %s\\n get -b %s %s \\n close' | %s | sed 's/%s = \\(.*\\);/\\1/'" \
102-
% (self.pid, mbean, attr, self.jmx_util_cmd, attr)
102+
% (self.pid, mbean.replace(' ', '\\ '), attr, self.jmx_util_cmd, attr)
103103

104104
return iter(s.strip() for s in self.__run_cmd(cmd))
105105

0 commit comments

Comments
 (0)