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

chore: Introduce opt-in flag to enable persistence support #250

Merged
merged 9 commits into from
Oct 25, 2024

Conversation

keelerm84
Copy link
Member

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 25, 2024 15:17
Base automatically changed from mk/sdk-812/refactor to feat/persistence-tests October 25, 2024 15:42
docs/service_spec.md Outdated Show resolved Hide resolved
@keelerm84 keelerm84 merged commit f370b8a into feat/persistence-tests Oct 25, 2024
2 checks passed
@keelerm84 keelerm84 deleted the mk/sdk-813/opt-in-persistence branch October 25, 2024 16:09
keelerm84 added a commit that referenced this pull request Oct 31, 2024
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.
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