Skip to content

Conversation

@BenWhitehead
Copy link
Collaborator

  • fix: update GrpcBlobReadChannel to set limit as a number of bytes rather than end_offset
  • fix: update StorageV2ProtoUtils#validation to treat limit as number of bytes to read rather than end_offset
  • test: mark com.google.cloud.storage.it.ITBlobReadChannelTest.testReadChannelFailUpdatedGeneration as json only
  • fix: update GrpcBlobReadChannel to match automatic decompression behavior of json
  • fix: update GrpcBlobReadChannel to match exception behavior for failed preconditions

@BenWhitehead BenWhitehead requested a review from a team as a code owner October 4, 2022 21:59
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: storage Issues related to the googleapis/java-storage API. labels Oct 4, 2022
…d preconditions

Split and renamed testReadChannelFail into the three scenarios it was testing
1. testReadChannel_preconditionFailureResultsInIOException_metagenerationMatch_specified
2. testReadChannel_preconditionFailureResultsInIOException_generationMatch_specified
3. testReadChannel_preconditionFailureResultsInIOException_generationMatch_extractor

Also update BlobReadChannel to remove RetryHelper$RetryHelperException of its cause chain
@BenWhitehead BenWhitehead added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 5, 2022
@BenWhitehead BenWhitehead merged commit db7e404 into feat/grpc-storage Oct 6, 2022
@BenWhitehead BenWhitehead deleted the grpc/it/read-channel branch October 6, 2022 17:39
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 googleapis/java-storage API. kokoro:force-run Add this label to force Kokoro to re-run the tests. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants