Skip to content
Snippets Groups Projects
Commit cb31f12b authored by Jake Taylor's avatar Jake Taylor
Browse files

added median to e2eReport.py

parent df917304
No related branches found
No related tags found
1 merge request!4Release
#!/usr/bin/env python3
# This script is used for building reports on dropped E2E integration tests
# This script is used for building reports on message sending for E2E integration tests
import re
import glob
import os
......@@ -115,10 +115,10 @@ def main():
else:
log.warning("Round {} was NOT confirmed successful, messages may have been dropped".format(round_id))
log.info("{}/{} messages received successfully! Average: {}, Median: {}".format(num_successful,
len(messages_sent),
total_latency / num_successful,
statistics.median(latencies)))
log.info("{}/{} messages received successfully! Mean: {}, Median: {}".format(num_successful,
len(messages_sent),
total_latency / num_successful,
statistics.median(latencies)))
if __name__ == "__main__":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment