-
Notifications
You must be signed in to change notification settings - Fork 32
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
test: Add DB/Node Restart tests #1504
test: Add DB/Node Restart tests #1504
Conversation
This commit is broken, and is fixed by Fred and then cleaned up by Andrew over the next few commits.
1f4c45b
to
393acac
Compare
Codecov Report
@@ Coverage Diff @@
## develop #1504 +/- ##
===========================================
- Coverage 72.16% 72.06% -0.10%
===========================================
Files 185 185
Lines 18239 18260 +21
===========================================
- Hits 13162 13159 -3
- Misses 4037 4056 +19
- Partials 1040 1045 +5
|
Cleans up the messy wip code commited earlier.
393acac
to
e1f9703
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Of course I'm biased here so I understand if you want to wait for someone else's approval.
😆 I thought I fixed the change detector earlier but hadn't - so the other have at least until then 😁 |
Looks like this is somehow the first new test not either in a new package, or a P2P test, since the change detector was reactivated
Was an existing change detector bug - this was just the first test to hit it. |
## Relevant issue(s) Resolves sourcenetwork#1082 ## Description Adds DB/Node Restart tests. This will be required by Lens (e.g. to make sure migrations are not lost on restart). IIRC I think this also found sourcenetwork#1482 (fixed by Fred). --------- Co-authored-by: Fred Carle <fredcarle@users.noreply.github.com>
Relevant issue(s)
Resolves #1082
Description
Adds DB/Node Restart tests. This will be required by Lens (e.g. to make sure migrations are not lost on restart). IIRC I think this also found #1482 (also fixed by Fred).
Fred was a massive help here and fixed the difficult bits when I flaked out on Friday :) Any commit that lists him as an author are his, I am only tagged in them having rebased them.
Commits are messy as anything as I wanted to preserve the level of credit due to Fred, and I'd suggest reviewing this PR at PR level as cleanup has not been squashed into commits introducing broken/messy code.
I will merge this when approved, whether that is 0.5.1 or 0.6 - it introduces no breaking (or risky) changes to the production code.