github.com/cloudfoundry/postgres-release/src/acceptance-tests@v0.0.0-20240511030151-872bdd2e0dba/scripts/test (about)

     1  #!/bin/bash -eux
     2  function main() {
     3  
     4    local scripts_dir
     5    scripts_dir=$(cd "$(dirname "${0}")" && pwd)
     6  
     7    local root_dir
     8    root_dir=$(cd "${scripts_dir}/.." && pwd)
     9    pushd "${root_dir}" > /dev/null
    10      go run github.com/onsi/ginkgo/v2/ginkgo \
    11        -v \
    12        -r \
    13        --race \
    14        --fail-fast \
    15        --randomize-all \
    16        --randomize-suites \
    17        --timeout=3h \
    18        "$@"
    19    popd > /dev/null
    20  }
    21  
    22  main "$@"