From 0c1f183387025ea3151d9fc0bd51fc8648f0ed4e Mon Sep 17 00:00:00 2001 From: "Chaurasiya, Payal" Date: Mon, 3 Mar 2025 01:43:24 -0800 Subject: [PATCH] Handle success and exception messages Signed-off-by: Chaurasiya, Payal --- tests/end_to_end/utils/federation_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/end_to_end/utils/federation_helper.py b/tests/end_to_end/utils/federation_helper.py index 7971d47b8c..518b544731 100644 --- a/tests/end_to_end/utils/federation_helper.py +++ b/tests/end_to_end/utils/federation_helper.py @@ -363,7 +363,7 @@ def _verify_completion_for_participant( content = list(filter(str.rstrip, lines))[-7:] if len(lines) >= 7 else lines # Print last line of the log file on screen to track the progress - log.info(f"Last line in {participant.name} log: {content}") + log.info(f"Last line in {participant.name} log: {lines[-1:]}") if constants.SUCCESS_MARKER in content: break log.info(f"Process is yet to complete for {participant.name}")