-
Notifications
You must be signed in to change notification settings - Fork 72
Riak Tests for scenarios of basho/riak_kv#679 #719
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
Conversation
|
Does this need a rebase? Looks like kv679_uid already merged. |
|
hmmmm, yes. Can I force push if needed? |
Dataloss at coordinator Dataloss at coordinator with an old clock repaired Vnode id's not unique
add some debugging log out
7c36749 to
d86d122
Compare
|
I did it anyway, sorry |
|
Nice, thanks! Ping when you're ready for review. |
|
ping @seancribbs, ready for review |
tests/kv679_dataloss.erl
Outdated
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.
This timeout sticks out as something that may not be helpful for repeatability. Are we sure it's even necessary here?
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.
It's not, vestige of early iteration. Good catch.
|
tests/kv679_dataloss_fb.erl
Outdated
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.
For clarity, I'd change this function name to primary_and_fallback_counts/1 to indicate it's actual function and not the expected result.
|
Seeing the following failure with |
tests/kv679_tombstone.erl
Outdated
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.
I agree that you don't need the andalso contains_fallback(NewPL). In this case the comment should be removed and so should contains_fallback/1.
|
WRT the failing |
Remove those timers and other remnants of flailing when first trying to write tests.
|
Hopefully that does it. Let me know if about removing |
|
@russelldb Great job here! I would remove +1 after that. |
|
👍 |
Riak Tests for scenarios of basho/riak_kv#679
Note that the fallback test
kv679_dataloss_fbwill fail until that case is addressed with a riak_object format change.