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

feat: Introduce persistent store testing support #254

Merged
merged 7 commits into from
Oct 31, 2024

Conversation

keelerm84
Copy link
Member

No description provided.

The SDK test harness has historically been self-sufficient. With the
introduction of persistence-based unit tests, that is no longer the
case. Externally started services are required for each persistence
technology supported.

Since we want to retain the ease of use associated with a our current
`go run .` usage, we are going to disable persistence support by
default. Users will have to provide a `-enable-persistence-tests` if
they want the test harness to attempt those tests.

SDKs under test are still required to provide the appropriate
capabilities. In the event those capabilities are provided, but the test
harness flag is not provided, persistence tests will be skipped.
@keelerm84 keelerm84 requested a review from a team as a code owner October 31, 2024 15:14
@keelerm84
Copy link
Member Author

Each of these individual commits have already been reviewed, except for the very last one (e755a82). That was something I just noticed doing final testing. Verified that change works though.

Do we want to squash this into a single commit, or just do some commit message overrides to get this released as a new feature?

Copy link
Contributor

@cwaldren-ld cwaldren-ld left a comment

Choose a reason for hiding this comment

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

Seems like squash, unless you think we'll need to revert parts of it but not others.

@keelerm84 keelerm84 merged commit cd03f57 into v2 Oct 31, 2024
2 checks passed
@keelerm84 keelerm84 deleted the feat/persistence-tests branch October 31, 2024 17:35
keelerm84 pushed a commit that referenced this pull request Oct 31, 2024
🤖 I have created a release *beep* *boop*
---


##
[2.25.0](v2.24.2...v2.25.0)
(2024-10-31)


### Features

* Introduce persistent store testing support
([#254](#254))
([cd03f57](cd03f57))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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