Improving kv test coverage#63
Improving kv test coverage#63embark merged 1 commit intocockroachdb:masterfrom embark:kathy/kv_test_coverage
Conversation
gossip/simulation.go
Outdated
There was a problem hiding this comment.
Now that we are using this in tests, it would be better to move this line into main() below.
There was a problem hiding this comment.
I moved it into the main() of simulation/gossip.go, which I believe is what you intended.
|
@embark, thanks for contributing! Looks good except for some minor style issues. |
gossip/simulation.go
Outdated
There was a problem hiding this comment.
Might want to reformat this comment to use 80 character line widths.
|
embark, thanks for the contribution. Certainly it's a very welcome one, providing test coverage for a critical untested part of the code base! I certainly wouldn't have guessed you haven't programmed before in Go. Do you have any part of the system which you're particularly interested in working on? |
|
LGTM! |
kv/dist_kv_test.go
Outdated
There was a problem hiding this comment.
Wow that's what I call a unittest..
There was a problem hiding this comment.
Haha, hopefully not too complicated.
|
LGTM. Go ahead and submit this. I invited you to the cockroachdb developers team, so you should have write permissions to the repo. |
Generalizing gossip network simulation so that it can be used to test gossip networks more broadly Adding unit tests for kv/dist_kv.go and fix user permission bug in storage/prefix.go caught by the tests
|
I will try to merge as soon as the build passes -- I have addressed all style comments. Thank you for the suggestions! Is there any unassigned work to be done with regard to transactions that I could help with? |
|
Well there is an important missing piece of the distributed transactions Further, I'd like to find some way to create a merged histogram between all The algorithm I have in mind is the one used by ntp: There are others. This paper discusses their preferred method using linear This is a critical component and would be excellent if you could make On Wed, Sep 17, 2014 at 2:25 PM, embark notifications@github.com wrote:
|
I'm brand new to Go, so I would appreciate any advice!