mirror of
https://github.com/minio/minio-rs.git
synced 2025-12-06 15:26:51 +08:00
The bug was using size (remaining bytes) instead of length (actual part size) when constructing PartInfo in the multipart copy loop. This would record wrong sizes for each part - especially problematic for the last part.
25 lines
493 B
Bash
Executable File
25 lines
493 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -x
|
|
set -e
|
|
|
|
wget --quiet https://dl.min.io/server/minio/release/linux-amd64/minio
|
|
chmod +x minio
|
|
|
|
echo "MinIO Server Version:"
|
|
./minio --version
|
|
|
|
mkdir -p /tmp/certs
|
|
cp ./tests/public.crt ./tests/private.key /tmp/certs/
|
|
|
|
(MINIO_CI_CD=true \
|
|
MINIO_SITE_REGION=us-east-1 \
|
|
MINIO_NOTIFY_WEBHOOK_ENABLE_miniojavatest=on \
|
|
MINIO_NOTIFY_WEBHOOK_ENDPOINT_miniojavatest=http://example.org/ \
|
|
./minio server /tmp/test-xl/{1...4}/ --certs-dir /tmp/certs/ &)
|
|
|
|
sleep 10
|
|
|
|
|
|
|