-
Notifications
You must be signed in to change notification settings - Fork 7
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
Put the same thing twice #64
Comments
This shrunk example is incorrect - in that the aae code is doing the right thing, but the shrunk eqc test is doing something incorrect. It has two PUTs on controller "a" for the same key that replace a current clock |
Looking at an un-shrunk example, there are faults in the model not just in the shrinking. Take this:
Now manually filter all activity except that related to key
|
kv_index_tictactree/test/aae_eqc.erl Lines 56 to 64 in 792b02f
Looking at this code, the bucket key clock generator used in the PUT gets the previous clock from the history of changes to either controller ... not to the specific controller which is being modified. This is incorrect and would cause the false failures that we see. |
But then we should modify this to get the correct previous and not always "undefined". With always having previous key undefined we test a different part of the code. |
Need to understand this better
The text was updated successfully, but these errors were encountered: