-
Notifications
You must be signed in to change notification settings - Fork 42
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
Ideas about migration tests #15
Comments
From Kubuxu on IRC:
|
(preface: i havent looked at the latest tests-- i will later this week.) i think the big thing for fs-repo-migrations testing is making sure everything works fine going up and down without losing any data, including for large repos or repos with large pinsets. |
i wrote up somewhere in an issue or pr (dont recall where) a sample workload (adding lots of stuff, adding pins, removing pins, adding more stuff, gc-ing, applying migrations, etc, all interspersed). i suspect too that a long-running randomized approach might be helpful in discovering problems. |
@jbenet yeah I will search for what you wrote already |
@jbenet: it's in PR #7. I will extract your ideas and @whyrusleeping's in comments below. |
@whyrusleeping's idea from PR #7: i'm fine having this tested with or without docker, my main idea for testing this goes something like:
|
it may be nice to start with the very first version, and ratchet up all the way, and all the way back down. to ensure all the migrations continue working. :) basically: (first) for each repo version:
for each repo version transition (A->B), both going up and going down:
maybe we can start with all that for 2 version transitions: test transition 2-to-3 repo version 2 with [email protected] |
So right now we have a number of tests that test transition 2-to-3 and 3-to-2 in:
Suggestions for more or improved tests? |
If you have ideas about some kind of migration tests we could do, please add them as comments in this issue. Thanks!
The text was updated successfully, but these errors were encountered: