minio/mint/run/core/minio-go
iternity-dotcom 4438124948 Add environment variable RUN_ON_FAIL (#11997)
Co-authored-by: Andre Bruch <ab@andrebruch.com>
Signed-off-by: Harshavardhana <harsha@minio.io>
2021-04-22 17:32:52 -07:00
..
go.mod update healthcheck tests for new prometheus endpoint (#11333) 2021-01-22 11:04:52 -08:00
go.sum fix: incorrect errors thrown by lint (#11699) 2021-03-04 14:27:38 -08:00
README.md Add environment variable RUN_ON_FAIL (#11997) 2021-04-22 17:32:52 -07:00
run.sh migrate mint tests to latest versions (#9424) 2020-04-22 16:06:58 -07:00

minio-go tests

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

Adding new tests

New tests are added in functional tests of minio-go. Please check https://github.com/minio/minio-go

Running tests manually

  • Set environment variables MINT_DATA_DIR, MINT_MODE, SERVER_ENDPOINT, ACCESS_KEY, SECRET_KEY, SERVER_REGION, ENABLE_HTTPS and RUN_ON_FAIL
  • 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
export RUN_ON_FAIL=1
./run.sh /tmp/output.log /tmp/error.log