summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/vpp_lite_topo/topologies/basic_topo_l2.sh
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2017-10-25 06:35:49 -0700
committerFilip Tehlar <ftehlar@cisco.com>2017-10-25 06:38:33 -0700
commitbf450b8040955447a72efbd1e16111675e06fece (patch)
tree322b7472c7ba3c02f05fa07a8374741b6fdfdf24 /tests/data_plane/vpp_lite_topo/topologies/basic_topo_l2.sh
parent7000eb00c39af12b3abc7d74d1f13f99f5b2b338 (diff)
Fix several timing issues when using CLI as a config method
Change-Id: I9fd06b7bb491e10b1dc199a04627bd088172d050 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'tests/data_plane/vpp_lite_topo/topologies/basic_topo_l2.sh')
-rw-r--r--tests/data_plane/vpp_lite_topo/topologies/basic_topo_l2.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/data_plane/vpp_lite_topo/topologies/basic_topo_l2.sh b/tests/data_plane/vpp_lite_topo/topologies/basic_topo_l2.sh
index 15ad7af..551f74d 100644
--- a/tests/data_plane/vpp_lite_topo/topologies/basic_topo_l2.sh
+++ b/tests/data_plane/vpp_lite_topo/topologies/basic_topo_l2.sh
@@ -97,12 +97,12 @@ function basic_topo_setup
maybe_pause
+ sleep 2
echo "* Selected configuration method: $CFG_METHOD"
if [ "$CFG_METHOD" == "cli" ] ; then
echo "exec ${VPP_LITE_CONF}/vpp1.cli" | nc 0 5002
echo "exec ${VPP_LITE_CONF}/vpp2.cli" | nc 0 5003
elif [ "$CFG_METHOD" == "vat" ] ; then
- sleep 2
${VPP_API_TEST} chroot prefix vpp1 script in ${VPP_LITE_CONF}/vpp1.vat
${VPP_API_TEST} chroot prefix vpp2 script in ${VPP_LITE_CONF}/vpp2.vat
else