-
Notifications
You must be signed in to change notification settings - Fork 28
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
Update/delete record fails while using EXPECT_GEN_GT/EXPECT_GEN_EQUAL write generation policies #47
Comments
@yevtsy could you please prepare PR with the fix? |
Yes, will do it |
We should not rely on the default Expectation Reality
|
fixed by #48 |
Documentation tells us that Write Generation Policy can be used to handle update/delete requests.
Relative PR with tests cases which shows the issues:
#46
Expectations:
Let's say I use
policy.writePolicyDefault.generationPolicy = GenerationPolicy.EXPECT_GEN_EQUAL;
and record with
@Version
property. I want to have the next cases:Actual result:
All these requests are fail with generation-related error
The text was updated successfully, but these errors were encountered: