FIX: Detection if l2fwd/l3fwd is up/down
[csit.git] / tests / dpdk / dpdk_scripts / run_l2fwd.sh
index 09cc112..f15461e 100755 (executable)
@@ -42,7 +42,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
@@ -69,7 +69,7 @@ if [ ${?} -eq "0" ]; then
     success=false
     sudo pkill l3fwd
     echo "RC = ${?}"
-    for attempt in {1..30}; do
+    for attempt in {1..60}; do
         echo "Checking if l3fwd is still alive, attempt nr ${attempt}"
         sudo pgrep l3fwd
         if [ ${?} -eq "1" ]; then
@@ -133,7 +133,7 @@ else
         --auto-start"
 fi
 
-for attempt in {1..30}; do
+for attempt in {1..60}; do
     echo "Checking if testpmd is alive, attempt nr ${attempt}"
     fgrep "Port 1: link state change event" "${TESTPMDLOG}"
     if [ "${?}" -eq "0" ]; then