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

[internal] test batch and stream API paths for load/store from remote store #15996

Merged
merged 1 commit into from
Jun 29, 2022

Conversation

tdyas
Copy link
Contributor

@tdyas tdyas commented Jun 29, 2022

Add tests that guarantee to invoke both the batch and stream API variants for loads and stores from a remote CAS. The other tests rely on the wrapper methods for load and store which select the API to use based on blob size. For full test coverage, both paths need to be tested, so make them pub(crate) (since the tests are in a sibling module) and invoke directly.

[ci skip-build-wheels]

@tdyas tdyas added the category:internal CI, fixes for not-yet-released features, etc. label Jun 29, 2022
Copy link
Member

@stuhood stuhood left a comment

Choose a reason for hiding this comment

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

Thanks!

@tdyas tdyas merged commit 2fa8671 into pantsbuild:main Jun 29, 2022
@tdyas tdyas deleted the reapi_test_batch_stream_paths branch June 29, 2022 22:11
tdyas pushed a commit to tdyas/pants that referenced this pull request Jun 30, 2022
…m remote store (pantsbuild#15996)"

This reverts commit 2fa8671.

[ci skip-build-wheels]
tdyas pushed a commit that referenced this pull request Jun 30, 2022
Causes stack blowout due to the Future being too big.

* Revert "[internal] test batch and stream API paths for load/store from remote store (#15996)"

This reverts commit 2fa8671.

[ci skip-build-wheels]

* Revert "[internal] use CAS BatchReadBlobs API for small blob reads (#15969)"

This reverts commit 5874884.

[ci skip-build-wheels]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:internal CI, fixes for not-yet-released features, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants