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

e2e/standard: test for backup & restore with passphrase #1369

Merged
merged 26 commits into from
Feb 4, 2025

Conversation

alxndrsn
Copy link
Contributor

@alxndrsn alxndrsn commented Jan 15, 2025

Inspired by #1309 (review), this adds tests for backup/restore with a passphrase.

What has been done to verify that this works as intended?

CI - it adds new tests.

Why is this the best possible solution? Were any other approaches considered?

Testing backup/restore with a real, running server is much simpler than integration testing the same functionality, and because it fakes less code it's more likely to catch real problems with the process.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

It should not affect users. As this PR only changes test code, regression risks are low.

Does this change require updates to the API documentation? If so, please update docs/api.yaml as part of this PR.

No.

Before submitting this PR, please make sure you have:

  • run make test and confirmed all checks still pass OR confirm CircleCI build passes
  • verified that any code from external sources are properly credited in comments or that everything is internally sourced

@alxndrsn alxndrsn changed the title e2e/standard: add tests for backup & restore e2e/standard: test for backup & restore w/ passphrase Jan 21, 2025
@alxndrsn alxndrsn changed the title e2e/standard: test for backup & restore w/ passphrase e2e/standard: test for backup & restore with passphrase Jan 21, 2025
@alxndrsn alxndrsn marked this pull request as ready for review January 21, 2025 14:02
@alxndrsn alxndrsn requested a review from ktuite January 21, 2025 14:02
@alxndrsn alxndrsn merged commit 6c35af7 into getodk:master Feb 4, 2025
6 checks passed
@alxndrsn alxndrsn deleted the backup-restore-e2e-test branch February 4, 2025 03:54
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