Moving to 5.8.0.next, since the test now fails consistently, even when ran alone, in 5.8 with Hibernate ORM 5.2.11-SNAPSHOT (current master). I'll have a look on Monday if nobody wants to take it.