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

refactor: storage tests should use a single test store and base #380

Merged
merged 2 commits into from
Jul 9, 2024

Conversation

malandis
Copy link
Contributor

@malandis malandis commented Jul 9, 2024

Refactors the storage tests to use a base class similar to the one
just introduced for cache. Handles store set up and tear down uniformly.

Refactors the storage tests to use a base class similar to the one
just introduced for cache. Handles store set up and tear down uniformly.
@malandis malandis requested review from nand4011, cprice404, rishtigupta and a team July 9, 2024 19:32
@@ -49,7 +49,7 @@ public PreviewStorageClientBuilder withConfiguration(
*
* @return the client.
*/
public IPreviewStorageClient build() {
public PreviewStorageClient build() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I changed this since PreviewStorageClient is Closeable. In order to both use the builder and explicitly call close on the client, we should return the concrete class.

Copy link
Contributor

@nand4011 nand4011 left a comment

Choose a reason for hiding this comment

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

LGTM after the environment variable is updated.

@malandis malandis requested a review from nand4011 July 9, 2024 20:06
@malandis malandis merged commit f09843c into main Jul 9, 2024
5 checks passed
@malandis malandis deleted the refactor/storage-integration-setup branch July 9, 2024 20:08
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.

2 participants