You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both of them have tests that connect to the same local database, and for some reason sometimes (Its weird because its not always) the tests fail with this error:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
So I have a workspace with 2 binaries.
Both of them have tests that connect to the same local database, and for some reason sometimes (Its weird because its not always) the tests fail with this error:
I am using the
sqlx::test
macro to run my tests and the async runtime istokio
.The tests definition look something like this:
I've searched on the internet and found that the
42P04
error code stands forDUPLICATE DATABASE
What is going on here?
Beta Was this translation helpful? Give feedback.
All reactions