Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IGNITE-14012 fix ducktape jmx_tools MBean pattern #8672

Merged
merged 1 commit into from
Jan 22, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def kernal_mbean(self):
"""
:return: IgniteKernal MBean.
"""
return self.jmx_client().find_mbean('.*group=Kernal,name=IgniteKernal')
return self.jmx_client().find_mbean('.*group=Kernal.*name=IgniteKernal')

@memoize
def disco_mbean(self):
Expand All @@ -197,6 +197,6 @@ def disco_mbean(self):
disco_spi = next(self.kernal_mbean().DiscoverySpiFormatted).strip()

if 'ZookeeperDiscoverySpi' in disco_spi:
return self.jmx_client().find_mbean('.*group=SPIs,name=ZookeeperDiscoverySpi')
return self.jmx_client().find_mbean('.*group=SPIs.*name=ZookeeperDiscoverySpi')

return self.jmx_client().find_mbean('.*group=SPIs,name=TcpDiscoverySpi')
return self.jmx_client().find_mbean('.*group=SPIs.*name=TcpDiscoverySpi')