Parcourir la source

increased timeout to maybe fix the tests

Rodja Trappe il y a 3 ans
Parent
commit
4f17c92432
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      test_startup.sh

+ 1 - 1
test_startup.sh

@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
 
 
 run() {
 run() {
-    output=`{ timeout 5 python3 $1; } 2>&1`
+    output=`{ timeout 10 python3 $1; } 2>&1`
     exitcode=$?
     exitcode=$?
     test $exitcode -eq 124 && exitcode=0 # exitcode 124 is comming from "timeout command above"
     test $exitcode -eq 124 && exitcode=0 # exitcode 124 is comming from "timeout command above"
     echo $output | grep "JustPy ready to go" > /dev/null || exitcode=1
     echo $output | grep "JustPy ready to go" > /dev/null || exitcode=1