Skip to content

Commit

Permalink
Double unit test timeout in github CI (#3363)
Browse files Browse the repository at this point in the history
Sometimes, the core_test and other tests, timeout when running in github
CI. the tell tell sign of a timeout is the return code 124, which is
returned by the timeout command.

The CI computers are slow and as we add more and more tests we need to
adjust this value to accommodate the slowness and the extra tests.

I doubled the timeout so that there is less of a chance of failing
due to timeout.
  • Loading branch information
dsiganos committed Jul 1, 2021
1 parent 9ea9635 commit 0e67166
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

build_dir=${1-${PWD}}
if [[ ${TEST_USE_ROCKSDB-0} == 1 ]]; then
TIMEOUT_DEFAULT=720
TIMEOUT_DEFAULT=1440
else
TIMEOUT_DEFAULT=360
TIMEOUT_DEFAULT=720
fi

BUSYBOX_BASH=${BUSYBOX_BASH-0}
Expand Down

0 comments on commit 0e67166

Please sign in to comment.