On very fast machines & databases, this test fails because two versions are created in the same millisecond:
java.lang.AssertionError: expected:<[3ccc5166-e968-4216-b2b6-64783ceed720, f39893a4-f132-4533-9117-2db053609c87, c6de845e-84f8-482f-8dc0-2b33f47f454a, eecdee8d-2ea9-488f-8527-ac4b0e08d778]> but was:<[3ccc5166-e968-4216-b2b6-64783ceed720, c6de845e-84f8-482f-8dc0-2b33f47f454a, eecdee8d-2ea9-488f-8527-ac4b0e08d778, bd778e1f-1443-4f39-9612-d8825b623307]> at org.nuxeo.ecm.core.TestSQLRepositoryQuery.assertIdSet(TestSQLRepositoryQuery.java:1468) at org.nuxeo.ecm.core.TestSQLRepositoryQuery.testQuerySpecialFieldsVersioning(TestSQLRepositoryQuery.java:1951)
This is particularly visible on DBS Mem tests.