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

test(robot): fix kubelet_keywords does not exist error #1872

Merged
merged 2 commits into from
May 3, 2024
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
6 changes: 3 additions & 3 deletions e2e/libs/keywords/host_keywords.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ def reboot_node_by_index(self, idx, power_off_time_in_min=1):
node_name = self.node.get_node_by_index(idx)
reboot_down_time_sec = int(power_off_time_in_min) * 60

logging(f'Rebooting node {node_name} with downtime {power_off_time_in_min} minutes')
logging(f'Rebooting node {node_name} with downtime {reboot_down_time_sec} seconds')
self.host.reboot_node(node_name, reboot_down_time_sec)

def reboot_all_worker_nodes(self, power_off_time_in_min=1):
reboot_down_time_sec = int(power_off_time_in_min) * 60

logging(f'Rebooting all worker nodes with downtime {power_off_time_in_min} minutes')
logging(f'Rebooting all worker nodes with downtime {reboot_down_time_sec} seconds')
self.host.reboot_all_worker_nodes(reboot_down_time_sec)

def reboot_all_nodes(self):
Expand All @@ -48,5 +48,5 @@ def reboot_all_nodes(self):
def reboot_node_by_name(self, node_name, downtime_in_min=1):
reboot_down_time_sec = int(downtime_in_min) * 60

logging(f'Rebooting node {node_name} with downtime {downtime_in_min} minutes')
logging(f'Rebooting node {node_name} with downtime {reboot_down_time_sec} seconds')
self.host.reboot_node(node_name, reboot_down_time_sec)