-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix regression in mint, with no args run all tests #279
Conversation
mint.sh
Outdated
exit 1 | ||
fi | ||
|
||
for sdk in "$@"; do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the problem with current code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Multiple
docker run --rm --net=host -e ACCESS_KEY=minio -e SECRET_KEY=minio123 -e SERVER_ENDPOINT=localhost:9000 -e ENABLE_HTTPS=0 -e MINT_MODE=full minio/mint:edge
Running with
SERVER_ENDPOINT: localhost:9000
ACCESS_KEY: minio
SECRET_KEY: ***REDACTED***
ENABLE_HTTPS: 0
SERVER_REGION: us-east-1
MINT_DATA_DIR: /mint/data
MINT_MODE: full
To get logs, run 'docker cp 4a78fcfd8528:/mint/log /tmp/mint-logs'
All tests ran successfully
Doesn't run any tests.
docker run --rm --net=host -e ACCESS_KEY=minio -e SECRET_KEY=minio123 -e SERVER_ENDPOINT=localhost:9000 -e ENABLE_HTTPS=0 -e MINT_MODE=full minio/mint:edge aws-sdk-go
Running with
SERVER_ENDPOINT: localhost:9000
ACCESS_KEY: minio
SECRET_KEY: ***REDACTED***
ENABLE_HTTPS: 0
SERVER_REGION: us-east-1
MINT_DATA_DIR: /mint/data
MINT_MODE: full
To get logs, run 'docker cp 87cafdefd031:/mint/log /tmp/mint-logs'
(1/13) Running aws-sdk-go tests ... done in 0 seconds
(2/13) Running aws-sdk-java tests ... done in 2 seconds
(3/13) Running aws-sdk-php tests ...
If an argument is provided seems to run all tests...
mint.sh
Outdated
sdks=( "$@" ) | ||
|
||
## populate all sdks except worm when no argument is given. | ||
if [ "$#" -eq 1 ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix this line. [ "$#" -eq 0 ]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested locally with this fix only, i.e. if [ "$#" -eq 0 ]
, mint behaves as expected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will make that change
since @harshavardhana has made the changes requested by @balamurugana and @nitisht has approved, merging this for minio/minio pending prs merges to progress. |
No description provided.