Skip to content

Commit

Permalink
adding back in cluster-events
Browse files Browse the repository at this point in the history
  • Loading branch information
paigerube14 committed Jan 13, 2025
1 parent 6eedca2 commit cef3e03
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 7 additions & 7 deletions krkn/scenario_plugins/abstract_scenario_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ def run_scenarios(
int(scenario_telemetry.start_timestamp),
int(scenario_telemetry.end_timestamp),
)
# utils.populate_cluster_events(
# scenario_telemetry,
# parsed_scenario_config,
# telemetry.get_lib_kubernetes(),
# int(scenario_telemetry.start_timestamp),
# int(scenario_telemetry.end_timestamp),
# )
utils.populate_cluster_events(
scenario_telemetry,
parsed_scenario_config,
telemetry.get_lib_kubernetes(),
int(scenario_telemetry.start_timestamp),
int(scenario_telemetry.end_timestamp),
)

if scenario_telemetry.exit_status != 0:
failed_scenarios.append(scenario_config)
Expand Down
2 changes: 0 additions & 2 deletions krkn/scenario_plugins/node_actions/abstract_node_scenarios.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ def node_stop_start_scenario(self, instance_kill_count, node, timeout, duration)
logging.info("Waiting for %s seconds before starting the node" % (duration))
time.sleep(duration)
self.node_start_scenario(instance_kill_count, node, timeout)

logging.info('affected nodes ' + str(self.affected_nodes_status.affected_nodes))
self.affected_nodes_status.merge_affected_nodes()
logging.info("node_stop_start_scenario has been successfully injected!")

Expand Down

0 comments on commit cef3e03

Please sign in to comment.