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
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
--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