diff options
author | Jan Gelety <jgelety@cisco.com> | 2020-01-22 16:38:39 +0100 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2020-02-10 13:33:34 +0000 |
commit | b968e370fe2737233f138ffd67a5bff75a6de091 (patch) | |
tree | 0d34bfd9d941c7fd40106f6a08a4586cc28b55b5 /tests/dpdk/dpdk_scripts/run_l2fwd.sh | |
parent | c34b584bec20a3239b204d9bb4e8b8e5ccfad6f2 (diff) |
FIX: Detection if l2fwd/l3fwd is up/down
Change-Id: Ide5de222e8314a0ea0be59f9a478f8d59147f722
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'tests/dpdk/dpdk_scripts/run_l2fwd.sh')
-rwxr-xr-x | tests/dpdk/dpdk_scripts/run_l2fwd.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/dpdk/dpdk_scripts/run_l2fwd.sh b/tests/dpdk/dpdk_scripts/run_l2fwd.sh index 09cc112998..f15461e254 100755 --- a/tests/dpdk/dpdk_scripts/run_l2fwd.sh +++ b/tests/dpdk/dpdk_scripts/run_l2fwd.sh @@ -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 |