You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-13 23:02:14 +03:00
Added a pre-test check for AWS creds, will fail gracefully
if there are none.
This commit is contained in:
@@ -877,6 +877,12 @@ void metadataUpdateTest()
|
||||
|
||||
void s3storageTest1()
|
||||
{
|
||||
if (!getenv("AWS_ACCESS_KEY_ID") || !getenv("AWS_SECRET_ACCESS_KEY"))
|
||||
{
|
||||
cout << "s3storageTest1 requires exporting your AWS creds, AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY" << endl;
|
||||
return;
|
||||
}
|
||||
|
||||
S3Storage s3;
|
||||
bool exists;
|
||||
int err;
|
||||
|
||||
Reference in New Issue
Block a user