Intermittent test errors with Ecto sandbox

It seems there are several people having this issue (though max-cases doesn’t fix it for us).
I created a repo to reproduce this, you can get more detailed information in my reply to the same issue here: Tests randomly failing when run in a VM
Unfortunately this does not solve the issue but maybe we can investigate what the cause is.