diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-02-08 21:04:12 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-02-08 21:04:12 -0300 |
commit | c92f71514c54641340b7c11f95357a9a4d35b27e (patch) | |
tree | d843442ee95b9a726a774bc47df36ada5da31b07 /tools/ci/scripts/runtest.sh | |
parent | 804ff57328837c09a692ddbe2d3ebb755d57a7c8 (diff) | |
download | plus-c92f71514c54641340b7c11f95357a9a4d35b27e.tar.gz plus-c92f71514c54641340b7c11f95357a9a4d35b27e.tar.bz2 plus-c92f71514c54641340b7c11f95357a9a4d35b27e.tar.xz plus-c92f71514c54641340b7c11f95357a9a4d35b27e.zip |
Cut down some of the waiting times during CI tests.
If it works, CI performance will be greatly improved.
Diffstat (limited to 'tools/ci/scripts/runtest.sh')
-rwxr-xr-x | tools/ci/scripts/runtest.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/ci/scripts/runtest.sh b/tools/ci/scripts/runtest.sh index 4b0320fed..e629fc514 100755 --- a/tools/ci/scripts/runtest.sh +++ b/tools/ci/scripts/runtest.sh @@ -53,7 +53,7 @@ function run { ./src/manaplus --hide-cursor --enable-ipc --renderer=0 >logs/run.log 2>&1 & export PID=$! echo "manaplus PID: ${PID}" - sleep 20 + sleep 15 echo "pause after run" wait_for_servers_list check_assert @@ -89,21 +89,21 @@ function final_log { function send_command { echo -n "$1" | nc 127.0.0.1 44007 - sleep 7 + sleep 5 check_is_run check_assert } function check_exists { if [ ! -f "logs/home/Desktop/ManaPlus/$1" ]; then - sleep 10 + sleep 7 if [ ! -f "logs/home/Desktop/ManaPlus/$1" ]; then echo "Error: image $1 not exists" exit 1 fi fi if [ ! -f "logs/home/Desktop/ManaPlus/$2" ]; then - sleep 10 + sleep 7 if [ ! -f "logs/home/Desktop/ManaPlus/$2" ]; then echo "Error: image $2 not exists" exit 1 |