-
Notifications
You must be signed in to change notification settings - Fork 231
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
Replace unistore with mockstore for testAsyncCommitFailSuite
#441
Comments
I have been working on it over here, currently having issues passing some integration tests. |
I'm currently having issues with TestRepeatableRead. AFAICT, the test is not actually failing due to write skew, but due to some kind of issue with the mock server returning minimum commit timestamps that are too late, causing commits to be pushed back each time.
Here, the changes made by the initial putKV statement are not committed due to the commit being too early, and the commit is pushed back. Meanwhile, the test reaches line 433, where the program expects to read a version of the data that has already committed these changes. |
You are right. I think the reason could be that mock server does not implement all advanced features that tikv supports. |
Replace
client-go/integration_tests/async_commit_test.go
Lines 80 to 83 in 8c3f29a
with
Then make sure tests can pass.
The text was updated successfully, but these errors were encountered: