-
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
Add mint test to lookup directory properly #224
Conversation
b833a1d
to
09100d7
Compare
run/core/awscli/test.sh
Outdated
log_success "$(get_duration "$start_time")" "${test_function}" | ||
else | ||
# clean up and log error | ||
${AWS} s3 rb s3://"${bucket_name}" --force > /dev/null 2>&1 |
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.
why remove the bucket? the next head-object test will fail
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.
Only under failure @poornas such a case we exit the test.
09100d7
to
1648f62
Compare
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.
LGTM.
run/core/awscli/test.sh
Outdated
fi | ||
|
||
if [ $rv -ne 0 ]; then | ||
log_success "$(get_duration "$start_time")" "${test_function}" |
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.
In this case we should probably continue to next step instead of logging success. Otherwise the log has more entries than number of test cases.
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.
Okay that can be done.
1648f62
to
071920f
Compare
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.
LGTM & tested
tests for minio/minio#5179