diff options
author | Daniel Black <daniel@mariadb.org> | 2021-02-11 12:45:24 +1100 |
---|---|---|
committer | Daniel Black <daniel@mariadb.org> | 2021-02-11 12:51:29 +1100 |
commit | c7edbe5bb1222634adb0c45ca86c62fb544ce246 (patch) | |
tree | b5eb0351616c51eec04c9735a45d99b7e1f44831 /mysql-test/suite/s3 | |
parent | 5e3d3220bbe344b0de60b26c24fd5cdc9fe1741a (diff) | |
download | mariadb-git-c7edbe5bb1222634adb0c45ca86c62fb544ce246.tar.gz |
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.
Diffstat (limited to 'mysql-test/suite/s3')
-rw-r--r-- | mysql-test/suite/s3/suite.pm | 4 |
1 files 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'}) |