-
Notifications
You must be signed in to change notification settings - Fork 0
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
Problems with dropbox accounts with updateCreds: Failure: 1205 Lock wait timeout exceeded; try restarting transaction #4
Comments
So far, I've added two test cases: DatabaseTests.IntegrationDatabaseTests/testFakeAddUser-- this is intended to reproduce all of "relevant" database actions when calling the addUser endpoint with dropbox when the needToGenerateTokens returns DatabaseTests.SpecificDatabaseTests_UserRepository/testUpdateCreds-- Just exercises the User updateCreds method. and I tried commenting out the code that adds the second db connection in the server. But no luck so far. I can't figure out why this was happening when ServerDropboxAccount had needToGenerateTokens returning |
|
|
|
|
Things to try:
|
Baseline-- with server up but not running requests currently.
|
When I use a dropbox account to add a user, it is doing an updateCreds and getting
Failure: 1205 Lock wait timeout exceeded; try restarting transaction
[2020-08-26T03:23:00.192Z] [ERROR] [UserRepository.swift:230 updateCreds(creds:forUser:accountManager:)] Failed updating User: executionError
So far my workaround is to make a User updateCreds not required.
I'm going to add in test cases for User updateCreds specifically.
And, hopefully, other tests as well.
The text was updated successfully, but these errors were encountered: