-
Notifications
You must be signed in to change notification settings - Fork 89
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
error with on_conflict in transaction #205
Comments
actually its when tests are async. Any thoughts on how to fix? |
I'm using mysql and if I remove the
|
this is the full error with stack trace:
And again this only happens on tests with |
@atomkirk we've just hit this same error and can't work out the why of it. Did you end up discovering a reason and/or a solution? |
The ecto docs mention that using async: true in tests is unreliable with mysql. It advises removing async: true so thats what we do.
|
I'm doing this:
and if this runs outside a transaction it works great. If I run it in a transaction, like during tests, it gives me this error:
Any ideas on this?
The text was updated successfully, but these errors were encountered: