X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Fdata_plane%2Fvpp_lite_topo%2Ftest_driver%2Fsrc_dst.sh;fp=tests%2Fdata_plane%2Fvpp_lite_topo%2Ftest_driver%2Fsrc_dst.sh;h=c4a756dee8fb7d6d680eb3676fc0a45d89e90f5b;hb=f3ac1dd5823fd7798b47d319e764da5945b5812c;hp=99c74bf3db89907e1cf3bcf986ef58f3c95636d5;hpb=8a12b449c9f9c5b8d58a5f2f71d359bd8636d1b8;p=one.git diff --git a/tests/data_plane/vpp_lite_topo/test_driver/src_dst.sh b/tests/data_plane/vpp_lite_topo/test_driver/src_dst.sh index 99c74bf..c4a756d 100644 --- a/tests/data_plane/vpp_lite_topo/test_driver/src_dst.sh +++ b/tests/data_plane/vpp_lite_topo/test_driver/src_dst.sh @@ -59,7 +59,7 @@ function test_src_dst maybe_pause 3_node_star_topo_clean - print_status $rc "No ICM response!" + print_status $rc "No ICMP response!" exit $test_result } @@ -96,7 +96,7 @@ function test_src_dst_l2 maybe_pause 3_node_star_topo_clean - print_status $rc "No ICM response!" + print_status $rc "No ICMP response!" exit $test_result } @@ -123,14 +123,20 @@ function test_mapping_timers mapping_exists "vpp1" "6.0.1.0/24|6.0.2.0/24" assert_rc_ok $? 3_node_star_topo_clean "mapping not in map-cache!" + mapping_exists "vpp1" "6.0.5.0/24|6.0.2.0/24" + assert_rc_ok $? 3_node_star_topo_clean "mapping not in map-cache!" mapping_exists "vpp2" "6.0.1.0/24" assert_rc_ok $? 3_node_star_topo_clean "mapping not in map-cache!" # sleep enough so the mapping expires sleep 65 + maybe_pause + mapping_exists "vpp1" "6.0.1.0/24|6.0.2.0/24" assert_rc_not_ok $? 3_node_star_topo_clean "mapping still present in map-cache!" + mapping_exists "vpp1" "6.0.5.0/24|6.0.2.0/24" + assert_rc_not_ok $? 3_node_star_topo_clean "mapping still present in map-cache!" mapping_exists "vpp2" "6.0.1.0/24" assert_rc_not_ok $? 3_node_star_topo_clean "mapping still present in map-cache!"