Skip to content

Commit

Permalink
Merge pull request #11605 from comps/flush_logs
Browse files Browse the repository at this point in the history
Flush automatus test logs before outputting results
  • Loading branch information
jan-cerny authored Feb 19, 2024
2 parents 952cd7c + 6c3102e commit db56fb2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/ssg_test_suite/test_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ def execute_ssh_command(self, command, log_file, error_msg_template=None):
remote_dest = "root@{ip}".format(ip=self.domain_ip)
result = common.retry_with_stdout_logging(
"ssh", tuple(self.ssh_additional_options) + (remote_dest, command), log_file)
log_file.flush()
if result.returncode:
error_msg = error_msg_template.format(
command=command, remote_dest=remote_dest,
Expand Down

0 comments on commit db56fb2

Please sign in to comment.