Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

test: add TestS3MinioEdge to test leading edge minio too #3934

Nick Craig-Woodbd9fd629bc99
diff --git a/fstest/test_all/config.yaml b/fstest/test_all/config.yaml
index ab8551b23..4ebebe210 100644
--- a/fstest/test_all/config.yaml
+++ b/fstest/test_all/config.yaml
@@ -119,6 +119,11 @@ backends:
- TestIntegration/FsMkdir/FsEncoding/punctuation
- TestIntegration/FsMkdir/FsEncoding/trailing_LF
- TestIntegration/FsMkdir/FsEncoding/trailing_VT
+ - backend: "s3"
+ remote: "TestS3MinioEdge:"
+ fastlist: true
+ ignore:
+ - TestIntegration/FsMkdir/FsPutFiles/SetTier
- backend: "s3"
remote: "TestS3Wasabi:"
fastlist: true
diff --git a/fstest/testserver/init.d/TestS3MinioEdge b/fstest/testserver/init.d/TestS3MinioEdge
new file mode 100755
index 000000000..f48002920
--- /dev/null
+++ b/fstest/testserver/init.d/TestS3MinioEdge
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+set -e
+
+NAME=minio-edge
+USER=rclone
+PASS=DeniseOxygenEiffel4
+
+. $(dirname "$0")/docker.bash
+
+start() {
+ docker run --rm -d --name $NAME \
+ -e "MINIO_ACCESS_KEY=$USER" \
+ -e "MINIO_SECRET_KEY=$PASS" \
+ minio/minio:edge server /data
+
+ echo type=s3
+ echo provider=Minio
+ echo access_key_id=$USER
+ echo secret_access_key=$PASS
+ echo endpoint=http://$(docker_ip):9000/
+ echo _connect=$(docker_ip):9000
+}
+
+. $(dirname "$0")/run.bash