X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Fdata_plane%2Fvpp_lite_topo%2Ftest_driver%2Fbasic_single_icmp.sh;fp=tests%2Fdata_plane%2Fvpp_lite_topo%2Ftest_driver%2Fbasic_single_icmp.sh;h=02a9d06c373fd38c86afb9ff1aa257bed4ee3d91;hb=9047c7fbf1c811f07c69f778914d25d2652651f3;hp=39f4f4cbf6745a66d1c3cc0892975d6fa1806d8a;hpb=25531ee0d1350f554314d0cbf914b4f461d57828;p=one.git diff --git a/tests/data_plane/vpp_lite_topo/test_driver/basic_single_icmp.sh b/tests/data_plane/vpp_lite_topo/test_driver/basic_single_icmp.sh index 39f4f4c..02a9d06 100644 --- a/tests/data_plane/vpp_lite_topo/test_driver/basic_single_icmp.sh +++ b/tests/data_plane/vpp_lite_topo/test_driver/basic_single_icmp.sh @@ -31,3 +31,20 @@ function test_single_icmp print_status $rc "No ICMP response!" exit $test_result } + +function test_single_icmp_no_counters +{ + 2_node_topo_setup no_odl + maybe_pause + test_result=1 + + # send only one ping request + ip netns exec vppns1 "${1}" -c 1 "${2}" + rc=$? + + # test done + maybe_pause + 2_node_topo_clean no_odl + print_status $rc "No ICMP response!" + exit $test_result +}