Re: [dpdk-dev] [PATCH v2] test/metrics: Fixed a negative case to pass

2019-01-20 Thread Thomas Monjalon
10/12/2018 09:39, Harman Kalra: > Negative test case for passing invalid count size to > rte_metrics_update_values() will pass if count value > is any value greater than 1 because set size wrt to > key id 1 is 1 and passing 0 as no of values to be > updated will not hit the ERANGE check. > > Signe

[dpdk-dev] [PATCH v2] test/metrics: Fixed a negative case to pass

2018-12-10 Thread Harman Kalra
Negative test case for passing invalid count size to rte_metrics_update_values() will pass if count value is any value greater than 1 because set size wrt to key id 1 is 1 and passing 0 as no of values to be updated will not hit the ERANGE check. Signed-off-by: Harman Kalra --- Fixed the patch cr

[dpdk-dev] [PATCH v2] test/metrics: Fixed a negative case to pass

2018-12-10 Thread Harman Kalra
Negative test case for passing invalid count size to rte_metrics_update_values() will pass if count value is any value greater than 1 because set size wrt to key id 1 is 1 and passing 0 as no of values to be updated will not hit the ERANGE check. Signed-off-by: Harman Kalra --- Fixed the patch cr