diff mbox series

[v3,5/6] tests/nic_single_core_perf: add expected mpps into JSON

Message ID 20210331101659.506185-6-lijuan.tu@intel.com (mailing list archive)
State New
Headers show
Series revise tests/nic_signle_core_perf | expand

Commit Message

Lijuan Tu March 31, 2021, 10:16 a.m. UTC
expose more perf info for CI analysis.

Signed-off-by: Lijuan Tu <lijuan.tu@intel.com>
---
 tests/TestSuite_nic_single_core_perf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tests/TestSuite_nic_single_core_perf.py b/tests/TestSuite_nic_single_core_perf.py
index dd35caac..8606f599 100644
--- a/tests/TestSuite_nic_single_core_perf.py
+++ b/tests/TestSuite_nic_single_core_perf.py
@@ -382,7 +382,7 @@  class TestNicSingleCorePerf(TestCase):
                     row_dict0['parameters'] = list()
                     row_dict0['status'] = row_in['Status']
                     row_dict1 = dict(name="Throughput", value=row_in['Real-Mpps'], unit="Mpps",
-                                     delta=row_in['Fluc Ratio'])
+                                     delta=row_in['Fluc Ratio'], expected=row_in['Expected-Mpps'])
                     row_dict2 = dict(name="Txd/Rxd", value=row_in["TXD/RXD"], unit="descriptor")
                     row_dict3 = dict(name="frame_size", value=row_in["Frame Size"], unit="bytes")
                     row_dict4 = dict(name="Fwd_core", value=row_in["Fwd_core"])