hs-test: increase test run timeout
[vpp.git] / extras / hs-test / test
index a886652..0e117bf 100755 (executable)
@@ -38,6 +38,9 @@ case "${i}" in
             unconfigure_set=1
         fi
         ;;
+    --cpus=*)
+        args="$args -cpus ${i#*=}"
+        ;;
     --test=*)
         tc_name="${i#*=}"
         if [ $tc_name != "all" ]; then
@@ -67,4 +70,4 @@ if [ $single_test -eq 0 ] && [ $debug_set -eq 1 ]; then
     exit 1
 fi
 
-sudo -E go test -buildvcs=false -v $args
+sudo -E go test -timeout=20m -buildvcs=false -v $args