We have periodic errors when working with E2E tests for MySQL. On CI it is enough (at the moment) to restart the test when errors occur, but in local development it is sometimes not enough.
The purpose of this ticket is to investigate the causes of deadlocks and how to fix them.
Steps To Reproduce
make test-e2e
Current Behavior
Sometimes, our team members get an error even on re-runs
Describe the bug
We have periodic errors when working with E2E tests for MySQL. On CI it is enough (at the moment) to restart the test when errors occur, but in local development it is sometimes not enough.
The purpose of this ticket is to investigate the causes of deadlocks and how to fix them.
Steps To Reproduce
Current Behavior
Sometimes, our team members get an error even on re-runs
Expected Behavior
No issues
kamu system info
Logs
Anything else?
There is an incompatibility between
nextest
andsqlx
:nextest
implies multiprocessing,sqlx
has a lock on cleanup within the current process (check https://github.com/launchbadge/sqlx/pull/2640#issuecomment-1659455042).Collaborative work will be supported in https://github.com/launchbadge/sqlx/pull/3334