Skip to content

Conversation

@tritone
Copy link
Contributor

@tritone tritone commented Mar 12, 2021

These tests rely on public data in the Landsat bucket
(https://cloud.google.com/storage/docs/public-datasets/landsat).
The data under PRE/ has been removed, so I shifted these to instead
use another prefix which should be stable.

Already done for dotnet here: googleapis/google-cloud-dotnet#6025

Fixes #3800
Fixes #3801

These tests rely on public data in the Landsat bucket
(https://cloud.google.com/storage/docs/public-datasets/landsat).
The data under PRE/ has been removed, so I shifted these to instead
use another prefix which should be stable.

Already done for dotnet here: googleapis/google-cloud-dotnet#6025

Fixes googleapis#3800
Fixes googleapis#3801
@tritone tritone requested a review from a team March 12, 2021 17:11
@tritone tritone requested a review from a team as a code owner March 12, 2021 17:11
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Mar 12, 2021
@product-auto-label product-auto-label bot added the api: storage Issues related to the Cloud Storage API. label Mar 12, 2021
Copy link
Member

@codyoss codyoss left a comment

Choose a reason for hiding this comment

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

LGTM

@tritone tritone merged commit 1668535 into googleapis:master Mar 12, 2021
@tritone tritone deleted the public-data-fix branch March 12, 2021 17:44
BenWhitehead added a commit to googleapis/java-storage that referenced this pull request Mar 16, 2021
BenWhitehead added a commit to googleapis/java-storage that referenced this pull request May 11, 2021
BenWhitehead added a commit to googleapis/java-storage that referenced this pull request May 11, 2021
danielduhh pushed a commit to danielduhh/java-storage that referenced this pull request Jun 9, 2021
danielduhh added a commit to googleapis/java-storage that referenced this pull request Jun 10, 2021
* build: add kokoro & ci changes

* add samples folder to pass ci

* build: pin fmt-maven-plugin version to 2.9

fmt-maven-plugin v2.10 is compiled for java 11, v2.9 is compiled for java 8

port of fix from googleapis/java-shared-config#90

* remove samples directory & ci

* add ci block

* remove snippet bot config

* sync ci changes

* fix(test): update blob paths used in storage.it.ITStorageTest#testDownloadPublicBlobWithoutAuthentication (#759)

Port of googleapis/google-cloud-go#3806

Fixes #755

Co-authored-by: BenWhitehead <BenWhitehead@users.noreply.github.com>
danielduhh pushed a commit to googleapis/java-storage that referenced this pull request Jun 17, 2021
danielduhh added a commit to googleapis/java-storage that referenced this pull request Jun 17, 2021
* feat: configure initial sp version

* fix(test): update blob paths used in storage.it.ITStorageTest#testDownloadPublicBlobWithoutAuthentication (#759)

Port of googleapis/google-cloud-go#3806

Fixes #755

* test: remove error string matching (#861)

It looks like the text for this error on the backend has changed
(sometimes) from "Precondition Failed" to "At least one of the
pre-conditions you specified did not hold". I don't think it's
really necessary to check the exact message in any case given
that we do check for a code of 412, which implies a precondition
failure. I added a check of the error Reason instead,  which is more
standardized.

Fixes #853

Co-authored-by: BenWhitehead <BenWhitehead@users.noreply.github.com>
Co-authored-by: Chris Cotter <cjcotter@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the Cloud Storage API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

storage: TestIntegration_ReadCRC failed storage: TestIntegration_PublicBucket failed

2 participants