github.com/crowdsecurity/crowdsec@v1.6.1/test/lib/setup.sh (about)

     1  #!/usr/bin/env bash
     2  
     3  # these plugins are always available
     4  
     5  load "../lib/bats-support/load.bash"
     6  load "../lib/bats-assert/load.bash"
     7  #load "../lib/bats-file/load.bash"
     8  
     9  # mark the start of each test in the logs, beware crowdsec might be running
    10  # echo "time=\"$(date +"%d-%m-%Y %H:%M:%S")\" level=info msg=\"TEST: ${BATS_TEST_DESCRIPTION}\"" >> /var/log/crowdsec.log
    11  
    12  export CROWDSEC_FEATURE_DISABLE_HTTP_RETRY_BACKOFF=true