mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Use 2 btest retries for CI
This commit is contained in:
parent
391164c9bc
commit
63e68665d3
4 changed files with 7 additions and 3 deletions
|
@ -13,6 +13,7 @@ if [[ -z "${CIRRUS_CI}" ]]; then
|
|||
[[ $(which nproc) ]] && ZEEK_CI_CPUS=$(nproc)
|
||||
[[ -n "${1}" ]] && ZEEK_CI_CPUS=${1}
|
||||
ZEEK_CI_BTEST_JOBS=${ZEEK_CI_CPUS}
|
||||
ZEEK_CI_BTEST_RETRIES=2
|
||||
fi
|
||||
|
||||
function pushd
|
||||
|
@ -56,7 +57,7 @@ function run_btests
|
|||
banner "Running baseline tests: zeek"
|
||||
|
||||
pushd testing/btest
|
||||
${BTEST} -d -b -x btest-results.xml -j ${ZEEK_CI_BTEST_JOBS} || result=1
|
||||
${BTEST} -z ${ZEEK_CI_BTEST_RETRIES} -d -b -x btest-results.xml -j ${ZEEK_CI_BTEST_JOBS} || result=1
|
||||
make coverage
|
||||
prep_artifacts
|
||||
popd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue