From ea6431e79af2033811ad961ecd4ae3ec96e2f375 Mon Sep 17 00:00:00 2001 From: Prakash Narayana Moorthy Date: Tue, 2 Apr 2024 19:49:42 +0000 Subject: [PATCH] Minor bug fix in the ping test module used by CCF. loguru warning method is warning() and not warn() Signed-off-by: Prakash Narayana Moorthy --- ledgers/ccf/pdo/ledgers/ccf/scripts/ping_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ledgers/ccf/pdo/ledgers/ccf/scripts/ping_test.py b/ledgers/ccf/pdo/ledgers/ccf/scripts/ping_test.py index e5e0f61e..7ff43d16 100755 --- a/ledgers/ccf/pdo/ledgers/ccf/scripts/ping_test.py +++ b/ledgers/ccf/pdo/ledgers/ccf/scripts/ping_test.py @@ -34,7 +34,7 @@ def ping_test(client, num_pings): total_time = end_time - start_time txn_throuput = num_pings/total_time - LOG.warn("Performed {0} pings. Average throughput is {1} pings per second".format(num_pings, txn_throuput)) + LOG.warning("Performed {0} pings. Average throughput is {1} pings per second".format(num_pings, txn_throuput)) # ----------------------------------------------------------------- def Main() :