From b968e370fe2737233f138ffd67a5bff75a6de091 Mon Sep 17 00:00:00 2001 From: Jan Gelety Date: Wed, 22 Jan 2020 16:38:39 +0100 Subject: FIX: Detection if l2fwd/l3fwd is up/down Change-Id: Ide5de222e8314a0ea0be59f9a478f8d59147f722 Signed-off-by: Jan Gelety --- tests/dpdk/dpdk_scripts/run_l3fwd.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/dpdk/dpdk_scripts/run_l3fwd.sh') diff --git a/tests/dpdk/dpdk_scripts/run_l3fwd.sh b/tests/dpdk/dpdk_scripts/run_l3fwd.sh index 3940cd4809..bab7668f5c 100755 --- a/tests/dpdk/dpdk_scripts/run_l3fwd.sh +++ b/tests/dpdk/dpdk_scripts/run_l3fwd.sh @@ -45,7 +45,7 @@ if [ ! -z "${l3fwd_pid}" ]; then success=false sudo kill -15 "${l3fwd_pid}" echo "RC = ${?}" - for attempt in {1..30}; do + for attempt in {1..60}; do echo "Checking if l3fwd is still alive, attempt nr ${attempt}" l3fwd_pid=`get_l3fwd_pid` if [ -z "${l3fwd_pid}" ]; then @@ -72,7 +72,7 @@ if [ ${?} -eq "0" ]; then success=false sudo pkill testpmd echo "RC = ${?}" - for attempt in {1..30}; do + for attempt in {1..60}; do echo "Checking if testpmd is still alive, attempt nr ${attempt}" sudo pgrep testpmd if [ ${?} -eq "1" ]; then @@ -113,7 +113,7 @@ else --eth-dest=0,${adj_mac0} --eth-dest=1,${adj_mac1} --parse-ptype" fi -for attempt in {1..30}; do +for attempt in {1..60}; do echo "Checking if l3fwd is alive, attempt nr ${attempt}" fgrep "L3FWD: entering main loop on lcore" "${L3FWDLOG}" if [ "${?}" -eq "0" ]; then -- cgit 1.2.3-korg