numam-dpdk/test
Guduri Prathyusha aee62e906f service: fix lcore stop
lcore_states store the state of the lcore. Fixing the invalid
dereference of lcore_states with service number

Unit test case service_lcore_start_stop fails with the above fix.
Service core was stopped without stopping the service.

This commit fixes the test by adding negative and positive cases of
stopping the service lcore before and after stopping the service
respectively

Fixes: 21698354c8 ("service: introduce service cores concept")
Fixes: f038a81e1c ("service: add unit tests")

Signed-off-by: Guduri Prathyusha <gprathyusha@caviumnetworks.com>
Reviewed-by: Harry van Haaren <harry.van.haaren@intel.com>
2017-09-15 15:32:48 +02:00
..
cmdline_test mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
test service: fix lcore stop 2017-09-15 15:32:48 +02:00
test-acl mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
test-pipeline test: remove duplicate includes 2017-07-16 17:30:25 +02:00
Makefile test: move unit tests to separate directory 2017-02-28 16:04:18 +01:00