diff options
author | Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com> | 2019-01-22 15:31:07 +0000 |
---|---|---|
committer | Stepan Andrushko <stepanx.andrushko@intel.com> | 2019-04-05 15:51:07 +0300 |
commit | 9e1dfbcc3b8d49ae1ea66a1ca6907073c867daab (patch) | |
tree | 7f236d6a976aad71d7215352b546560bce6c1480 /yardstick/tests/unit | |
parent | 4c995d8a3ad25afe2ad8d75d43c7519ce22797eb (diff) |
Fix UDPReplay VNF statistic parsing
Fixed UDPReplay statistic parsing according to changes made in
UDPReplay sample VNF.
JIRA: YARDSTICK-1609
Change-Id: I093f6612cc736695fa96f15dce374c949d8c3459
Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
Diffstat (limited to 'yardstick/tests/unit')
-rw-r--r-- | yardstick/tests/unit/network_services/vnf_generic/vnf/test_udp_replay.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/yardstick/tests/unit/network_services/vnf_generic/vnf/test_udp_replay.py b/yardstick/tests/unit/network_services/vnf_generic/vnf/test_udp_replay.py index cbb4ee913..aabd402a6 100644 --- a/yardstick/tests/unit/network_services/vnf_generic/vnf/test_udp_replay.py +++ b/yardstick/tests/unit/network_services/vnf_generic/vnf/test_udp_replay.py @@ -329,9 +329,9 @@ class TestUdpReplayApproxVnf(unittest.TestCase): vnfd = self.VNFD_0 get_stats_ret_val = \ "stats\r\r\n\r\nUDP_Replay stats:\r\n--------------\r\n" \ - "Port\t\tRx Packet\t\tTx Packet\t\tRx Pkt Drop\t\tTx Pkt Drop \r\n"\ - "0\t\t7374156\t\t7374136\t\t\t0\t\t\t0\r\n" \ - "1\t\t7374316\t\t7374315\t\t\t0\t\t\t0\r\n\r\nReplay>\r\r\nReplay>" + "Port\t\tRx Packet\t\tTx Packet\t\tRx Pkt Drop\t\tTx Pkt Drop\t\tarp_pkts \r\n"\ + "0\t\t7374156\t\t7374136\t\t\t0\t\t\t0\t\t\t0\r\n" \ + "1\t\t7374316\t\t7374315\t\t\t0\t\t\t0\t\t\t0\r\n\r\nReplay>\r\r\nReplay>" udp_replay_approx_vnf = UdpReplayApproxVnf(NAME, vnfd) udp_replay_approx_vnf.scenario_helper.scenario_cfg = { 'nodes': {udp_replay_approx_vnf.name: "mock"} |