github.com/minio/minio@v0.0.0-20240328213742-3f72439b8a27/buildscripts/race.sh (about)

     1  #!/usr/bin/env bash
     2  
     3  set -e
     4  
     5  export GORACE="history_size=7"
     6  export MINIO_API_REQUESTS_MAX=10000
     7  
     8  for d in $(go list ./...); do
     9  	CGO_ENABLED=1 go test -v -race --timeout 100m "$d"
    10  done