results)
total_tx_rate = extract_value(context.result, "total_tx_rate")
- context.rates[context.json['frame_sizes'][0] + '_' + context.json['flow_count']] = total_tx_rate
overall = extract_value(context.result, "overall")
avg_delay_usec = extract_value(overall, "avg_delay_usec")
# create a synthesis with offered pps and latency values
"""Utils methods."""
-@retry(AssertionError, tries=10, delay=5.0, logger=None)
+@retry(AssertionError, tries=24, delay=5.0, logger=None)
def test_nfvbench_api(context):
try:
r = requests.get("http://{ip}:{port}/status".format(ip=context.host_ip, port=context.port))
threshold) * old_throughput_pps:
raise AssertionError(
"Current run throughput {current_throughput_pps} is not over {threshold} "
- " of previous value ({old_throughput_pps}pps)".format(
+ " of previous value ({old_throughput_pps})".format(
current_throughput_pps=Formatter.suffix('pps')(
Formatter.standard(current_throughput_pps)),
threshold=threshold, old_throughput_pps=Formatter.suffix('pps')(