BugFix: Negative dropped packets in Prox tests 77/45577/3
authorAbhijit Sinha <abhijit.sinha@intel.com>
Wed, 18 Oct 2017 15:44:45 +0000 (16:44 +0100)
committerAbhijit Sinha <abhijit.sinha@intel.com>
Thu, 19 Oct 2017 15:21:14 +0000 (16:21 +0100)
commita27278dacaa54ae60cd3bdfa6e6145643f76fa02
tree92fbb15bc37162b23fb61f37504cb6768cd06ea1
parent1a2fed8a24fbae878e317019a8fb994cc6cc8cfd
BugFix: Negative dropped packets in Prox tests

Removed the abs function which can potentially mask
negative dropped packets.

Dropped packets in Prox workload VNF = rx_packets - tx_packets

Change-Id: I510a351e899cdf9a1f366d632b9f0528b1d9dcce
Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
tests/unit/network_services/vnf_generic/vnf/test_prox_vnf.py
yardstick/network_services/vnf_generic/vnf/prox_vnf.py