mirror of
https://github.com/minio/minio.git
synced 2025-02-12 22:28:07 -05:00
This PR is to ensure that we call the relevant object layer APIs for necessary S3 API level functionalities allowing gateway implementations to return proper errors as NotImplemented{} This allows for all our tests in mint to behave appropriately and can be handled appropriately as well.
awscli
tests
This directory serves as the location for Mint tests using awscli
. Top level mint.sh
calls run.sh
to execute tests.
Adding new tests
New tests is added into test.sh
as new functions.
Running tests manually
- Set environment variables
MINT_DATA_DIR
,MINT_MODE
,SERVER_ENDPOINT
,ACCESS_KEY
,SECRET_KEY
,SERVER_REGION
andENABLE_HTTPS
- Call
run.sh
with output log file and error log file. for example
export MINT_DATA_DIR=~/my-mint-dir
export MINT_MODE=core
export SERVER_ENDPOINT="play.minio.io:9000"
export ACCESS_KEY="Q3AM3UQ867SPQQA43P2F"
export SECRET_KEY="zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG"
export ENABLE_HTTPS=1
export SERVER_REGION=us-east-1
./run.sh /tmp/output.log /tmp/error.log