minio/mint/run/core/aws-sdk-php
Harshavardhana 7ea026ff1d
fix: reply back user-metadata in lower case form (#9697)
some clients such as veeam expect the x-amz-meta to
be sent in lower cased form, while this does indeed
defeats the HTTP protocol contract it is harder to
change these applications, while these applications
get fixed appropriately in future.

x-amz-meta is usually sent in lowercased form
by AWS S3 and some applications like veeam
incorrectly end up relying on the case sensitivity
of the HTTP headers.

Bonus fixes

 - Fix the iso8601 time format to keep it same as
   AWS S3 response
 - Increase maxObjectList to 50,000 and use
   maxDeleteList as 10,000 whenever multi-object
   deletes are needed.
2020-05-25 16:51:32 -07:00
..
composer.json fix mint tests in awscli to ignore NotImplemented properly (#9561) 2020-05-08 22:32:10 -07:00
quick-tests.php fix: reply back user-metadata in lower case form (#9697) 2020-05-25 16:51:32 -07:00
README.md Add mint tests into MinIO repo (#7886) 2019-07-09 18:32:39 -07:00
run.sh migrate mint tests to latest versions (#9424) 2020-04-22 16:06:58 -07:00

aws-sdk-php tests

This directory serves as the location for Mint tests using aws-sdk-php. Top level mint.sh calls run.sh to execute tests.

Adding new tests

New tests is added into quick-tests.php as new functions.

Running tests manually

  • Set environment variables MINT_DATA_DIR, MINT_MODE, SERVER_ENDPOINT, ACCESS_KEY, SECRET_KEY, SERVER_REGION and ENABLE_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