From c7edbe5bb1222634adb0c45ca86c62fb544ce246 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Thu, 11 Feb 2021 12:45:24 +1100 Subject: [PATCH] MDEV-24366: s3 test postfix - use default for S3_BUCKET and S3_HOST_NAME. Required environment variables are now S3_ACCESS_KEY and S3_SECRET_KEY. Or a running minio instance on localhost:9000. --- mysql-test/suite/s3/suite.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mysql-test/suite/s3/suite.pm b/mysql-test/suite/s3/suite.pm index 359235ecbe7..cdefbc5e323 100644 --- a/mysql-test/suite/s3/suite.pm +++ b/mysql-test/suite/s3/suite.pm @@ -25,12 +25,12 @@ else { if (!$ENV{'S3_HOST_NAME'}) { - return "Environment variable S3_HOST_NAME need to be set"; + $ENV{'S3_HOST_NAME'} = "s3.amazonaws.com"; } if (!$ENV{'S3_BUCKET'}) { - return "Environment variable S3_BUCKET need to be set"; + $ENV{'S3_BUCKET'} = "MariaDB"; } if (!$ENV{'S3_REGION'})