This test was recently enabled on MySQL in https://github.com/home-assistant/core/pull/87753 Since it the migration is still in progress in the background when the test ends, it causes deadlock with InnoDB when its dropped out from under it