Skip to content

Instantly share code, notes, and snippets.

@antonfisher
Last active March 16, 2020 12:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save antonfisher/2145a76b939890b4f7db185eecbb98dd to your computer and use it in GitHub Desktop.
Save antonfisher/2145a76b939890b4f7db185eecbb98dd to your computer and use it in GitHub Desktop.
Run all minio/mint tests and do not fail on first failed test case
# by defailt mint tests fail on the first failed test case, to change it follow these steps:
git clone git@github.com:minio/minio.git
cd minio/mint
vim mint.sh +194 # comment "break" on string 194 to run all the tests and don't stop on the first fail
docker build --no-cache -t minio/mint:local . -f Dockerfile.dev
docker run \
--name mint \
--rm \
-it \
-e SERVER_ENDPOINT=10.3.199.254:9000 \
-e ACCESS_KEY=bl5uEWuG61DuolRH \
-e SECRET_KEY=isfcGvN3DceCfA8I \
-e ENABLE_HTTPS=0 \
-e ENABLE_VIRTUAL_STYLE=0 \
-e MINT_MODE=core \
minio/mint:local
# to run tests using the official mint docker container (fails on first failed test case):
docker run \
--name mint \
--rm \
-it \
-e SERVER_ENDPOINT=10.3.199.254:9000 \
-e ACCESS_KEY=bl5uEWuG61DuolRH \
-e SECRET_KEY=isfcGvN3DceCfA8I \
-e ENABLE_HTTPS=0 \
-e ENABLE_VIRTUAL_STYLE=0 \
-e MINT_MODE=core \
minio/mint;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment