Skip to content

Conversation

@JesseLovelace
Copy link
Contributor

Fixes two issues:

-Tests relating to signing URLs are now properly skipped when a credential is provided that is incapable of signing
-Test accessing a public bucket is skipped if ran in an environment with restricted access

@JesseLovelace JesseLovelace requested a review from frankyn October 12, 2018 16:30
@JesseLovelace JesseLovelace requested a review from a team as a code owner October 12, 2018 16:30
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 12, 2018
Copy link
Contributor

@frankyn frankyn left a comment

Choose a reason for hiding this comment

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

Overall looks good just two minor nits.

bytes = unauthorizedStorage.readAllBytes(landsatBucket, landsatBlob);
} catch (StorageException ex) {
assertTrue(ex.getCause() instanceof GoogleJsonResponseException);
assumeFalse(403 == ((GoogleJsonResponseException) ex.getCause()).getStatusCode());

This comment was marked as spam.

try {
bytes = unauthorizedStorage.readAllBytes(landsatBucket, landsatBlob);
} catch (StorageException ex) {
assertTrue(ex.getCause() instanceof GoogleJsonResponseException);

This comment was marked as spam.

@JesseLovelace JesseLovelace merged commit e5f0fba into googleapis:master Oct 16, 2018
@JesseLovelace JesseLovelace mentioned this pull request Oct 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants