Skip to content

Commit

Permalink
Remove duplicate debug log information
Browse files Browse the repository at this point in the history
Remove logging of the output from BluechiCtl._run(), because the output
is already logged in ContainerClient.exec_run() or SSHClient.exec_run()

Signed-off-by: Martin Perina <[email protected]>
  • Loading branch information
mwperina committed Aug 29, 2024
1 parent 1df9cc0 commit a890cbb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/bluechi_test/bluechictl.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ def _run(
) -> Tuple[Optional[int], Union[Iterator[bytes], Any, Tuple[bytes, bytes]]]:
LOGGER.debug(log_txt)
result, output = self.client.exec_run(f"{BluechiCtl.binary_name} {cmd}")
LOGGER.debug(f"{log_txt} finished with result '{result}' and output '{output}'")
if check_result and result != expected_result:
raise Exception(
f"{log_txt} failed with {result} (expected {expected_result}): {output}"
Expand Down

0 comments on commit a890cbb

Please sign in to comment.