diff --git a/tools/test/bin/onos-check-component b/tools/test/bin/onos-check-component index 686d93643c..27ce619ba6 100755 --- a/tools/test/bin/onos-check-component +++ b/tools/test/bin/onos-check-component @@ -13,7 +13,7 @@ state=$3 for attempt in {1..30}; do onos ${node:-$OCI} scr:list | grep $component > $aux - if grep -q $state $aux; then + if grep $state $aux; then exit 0 else sleep 1 diff --git a/tools/test/bin/onos-mininet b/tools/test/bin/onos-mininet index 5256166b90..9079e887c9 100755 --- a/tools/test/bin/onos-mininet +++ b/tools/test/bin/onos-mininet @@ -6,7 +6,7 @@ [ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1 . $ONOS_ROOT/tools/build/envDefaults -export MAX_WAIT=60 +export MAX_WAIT=${ONOS_MN_TIMEOUT:-90} cmd="$1" && shift log="screenlog.0" diff --git a/tools/test/scenarios/netcfg.xml b/tools/test/scenarios/netcfg.xml index e13705bdda..72d7acc0c8 100644 --- a/tools/test/scenarios/netcfg.xml +++ b/tools/test/scenarios/netcfg.xml @@ -52,7 +52,7 @@ -