diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ead08d4fd..f490a9ec1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -70,6 +70,12 @@ jobs: buildscripts/verify-rebrand.sh dockerscripts/docker-entrypoint_test.sh + # Keep this gate aligned with the Object Lock race regression in go.yml. + - name: Gate release on Object Lock authorization and overwrite tests under race detector + env: + MINIO_API_REQUESTS_MAX: "10000" + run: go test -race -tags kqueue,dev ./cmd -run '^Test(APIPutObjectRetention|APIVersionAddressedWrite|PutObjectRetention|DirectoryObjectLock|ObjectLockOverwrite|APICopyObjectPreservesVersionAfterSuspension|MultipartNullObjectLock|PoolsObjectLockOverwrite|MultipartVersioningTransitions|PlanReview|RecoveredMultipartUpload)' -count=1 -timeout=5m + - name: Compute release variables env: # Passed through the environment, never interpolated into the script