Skip to content

Commit

Permalink
Minor bug fix in the ping test module used by CCF. loguru warning met…
Browse files Browse the repository at this point in the history
…hod is warning() and not warn()

Signed-off-by: Prakash Narayana Moorthy <prakash.narayana.moorthy@intel.com>
  • Loading branch information
prakashngit committed Apr 2, 2024
1 parent b3bbd5f commit ea6431e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ledgers/ccf/pdo/ledgers/ccf/scripts/ping_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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() :
Expand Down

0 comments on commit ea6431e

Please sign in to comment.