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

aws-sdk-php: fix AWS S3 compatible fixes #275

Merged
merged 1 commit into from
Apr 24, 2018

Conversation

harshavardhana
Copy link
Member

No description provided.

@harshavardhana harshavardhana changed the title fix S3 compatible fixes aws-sdk-php: fix AWS S3 compatible fixes Apr 22, 2018
@@ -646,7 +646,7 @@ function testGetBucketLocation($s3Client, $params) {
// Run failure tests.
$params = [
// InvalidBucketName test
Copy link
Member

Choose a reason for hiding this comment

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

Nit: could we change the comment to be "Bucket not found test" instead of "invalidbucketname tests"?

@@ -646,7 +646,7 @@ function testGetBucketLocation($s3Client, $params) {
// Run failure tests.
$params = [
// InvalidBucketName test
'InvalidBucketName' => ['Bucket' => $bucket . '--'],
'NoSuchBucket' => ['Bucket' => $bucket . '--'],
Copy link
Member

Choose a reason for hiding this comment

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

Could we have a valid bucket name which is known up front to not exist during the test run instead of using an invalid bucket name?

Copy link
Member Author

Choose a reason for hiding this comment

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

the reason is to verify S3 doesn't return invalid bucket name - since we know an invalid bucket name cannot exist - this is a good test still.

@harshavardhana
Copy link
Member Author

updated PTAL @krisis @nitisht

@kannappanr kannappanr self-requested a review April 24, 2018 22:43
@kannappanr kannappanr merged commit 554f65b into minio:master Apr 24, 2018
@harshavardhana harshavardhana deleted the fix-quick branch April 24, 2018 22:44
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.

None yet

4 participants