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 <[email protected]>
  • Loading branch information
prakashngit authored and cmickeyb committed Apr 10, 2024
1 parent 6f699de commit e203535
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 e203535

Please sign in to comment.