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

Ignore exceptions during cleanup #161

Merged
merged 1 commit into from
Sep 30, 2017
Merged

Conversation

krisis
Copy link
Member

@krisis krisis commented Sep 28, 2017

Exit process on first failure in place throwing an exception.

Copy link
Collaborator

@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

@@ -987,7 +991,6 @@ function runTest($s3Client, $myfunc, $fnSignature, $args = []) {
if ($errorCode != "NotImplemented") {
$status = "FAIL";
$error = $e->getMessage();
throw $e;
Copy link
Collaborator

@ebozduman ebozduman Sep 29, 2017

Choose a reason for hiding this comment

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

These tests, IMHO, cannot be considered as failures.

I think we may want to set the status field to NA instead of FAIL for APIs not implemented yet and instead of error, we can use alert field, that's the purpose of this field if I understand it correctly when we decided the purpose of these fields, for the meaningful message.

Exit process on first failure in place throwing an exception.
Copy link
Collaborator

@ebozduman ebozduman left a comment

Choose a reason for hiding this comment

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

LGTM

@nitisht nitisht merged commit ccfd11f into minio:master Sep 30, 2017
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