Last active
March 16, 2020 12:56
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# by defailt mint tests fail on the first failed test case, to change it follow these steps: | |
git clone [email protected]: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