-
Notifications
You must be signed in to change notification settings - Fork 14.4k
KAFKA-19316: added share_group_command_test.py system tests #19774
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
base: trunk
Are you sure you want to change the base?
Conversation
if group: | ||
if describe_members: | ||
def has_expected_share_group_member(): | ||
output = self.kafka.describe_share_group_members(group=group,node=kafka_node,command_config=command_config_file) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: some formatting issues - no space after ,
def has_expected_share_group_member(): | ||
output = self.kafka.describe_share_group_members(group=group,node=kafka_node,command_config=command_config_file) | ||
return len(output) == 1 and all("test-share-group" in line for line in output) | ||
wait_until(has_expected_share_group_member,timeout_sec=10, err_msg="Timed out waiting to describe members of the share group.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall,
some nit comments
This PR include system tests in the file share_group_command_test.py. These tests test the functionality of kafka-share-groups.sh tool