Skip to content
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

tests: cleanup functional tests #607

Merged
merged 1 commit into from
Sep 12, 2017

Conversation

balamurugana
Copy link
Member

This patch cleans up functional tests for styles and other logical errors.

@balamurugana balamurugana force-pushed the functional-test-cleanup branch 4 times, most recently from b77772a to 4b6bde1 Compare September 5, 2017 22:30
mintFailedLog("putObject(String bucketName, String objectName, String filename, String contentType)",
"contentType: " + customContentType, startTime, null, null);
if (!customContentType.equals(objectStat.contentType())) {
throw new Exception("content type mismatch, expected: " + customContentType + ", got: "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where will removeObject get called, after the exception is thrown?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. When no exception is thrown, below code is executed

Copy link
Contributor

@kannappanr kannappanr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

This patch cleans up functional tests for styles and other logical errors.
@deekoder deekoder merged commit cfa6417 into minio:master Sep 12, 2017
@balamurugana balamurugana deleted the functional-test-cleanup branch September 14, 2017 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants