As promised in PR 6125, here's a reduced test-case that should (hopefully) avoid the intermittent failure of the previous one.