Skip to content

Commit

Permalink
include the test status in log message (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaikiran authored Oct 28, 2023
1 parent a2fbda4 commit c9bc7e0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion interop.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,12 @@ def _run_test(
server_log_dir.cleanup()
client_log_dir.cleanup()
sim_log_dir.cleanup()
logging.debug("Test took %ss", (datetime.now() - start_time).total_seconds())
logging.debug(
"Test: %s took %ss, status: %s",
str(testcase),
(datetime.now() - start_time).total_seconds(),
str(status),
)

# measurements also have a value
if hasattr(testcase, "result"):
Expand Down

0 comments on commit c9bc7e0

Please sign in to comment.