Skip to content

Commit c7edbe5

Browse files
committed
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.
1 parent 5e3d322 commit c7edbe5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mysql-test/suite/s3/suite.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ else
2525
{
2626
if (!$ENV{'S3_HOST_NAME'})
2727
{
28-
return "Environment variable S3_HOST_NAME need to be set";
28+
$ENV{'S3_HOST_NAME'} = "s3.amazonaws.com";
2929
}
3030

3131
if (!$ENV{'S3_BUCKET'})
3232
{
33-
return "Environment variable S3_BUCKET need to be set";
33+
$ENV{'S3_BUCKET'} = "MariaDB";
3434
}
3535

3636
if (!$ENV{'S3_REGION'})

0 commit comments

Comments
 (0)