Browse Source

:wrench: Enlarge time windows for tests

Ettore Di Giacinto 3 years ago
parent
commit
d572d25b99
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .github/filetest.sh
  2. 1 1
      .github/servicestest.sh

+ 1 - 1
.github/filetest.sh

@@ -35,7 +35,7 @@ else
     fi
     fi
 
 
     curl -X PUT http://localhost:8080/api/ledger/tests/test/done
     curl -X PUT http://localhost:8080/api/ledger/tests/test/done
-
+    sleep 80
     t=$(cat $PWD/test)
     t=$(cat $PWD/test)
 
 
     if [ $t != "test" ]; then
     if [ $t != "test" ]; then

+ 1 - 1
.github/servicestest.sh

@@ -41,7 +41,7 @@ else
     if [[ $rc -eq 0 ]] ; then
     if [[ $rc -eq 0 ]] ; then
         echo "Alright"
         echo "Alright"
         curl -X PUT http://localhost:8080/api/ledger/tests/services/doneservice
         curl -X PUT http://localhost:8080/api/ledger/tests/services/doneservice
-        sleep 20
+        sleep 80
         exit 0
         exit 0
     else
     else
         echo "Test failed"
         echo "Test failed"