crowdsec/test/lib/setup.sh

12 lines
422 B
Bash
Raw Normal View History

#!/usr/bin/env bash
# these plugins are always available
load "../lib/bats-support/load.bash"
load "../lib/bats-assert/load.bash"
#load "../lib/bats-file/load.bash"
2022-07-01 08:16:45 +00:00
# mark the start of each test in the logs, beware crowdsec might be running
# echo "time=\"$(date +"%d-%m-%Y %H:%M:%S")\" level=info msg=\"TEST: ${BATS_TEST_DESCRIPTION}\"" >> /var/log/crowdsec.log
export CROWDSEC_FEATURE_DISABLE_HTTP_RETRY_BACKOFF=true