On very fast machines & databases, this test fails because two versions are created in the same millisecond:
org.junit.ComparisonFailure: expected:<0.[2]> but was:<0.[1]> at org.junit.Assert.assertEquals(Assert.java:115) at org.junit.Assert.assertEquals(Assert.java:144) at org.nuxeo.ecm.core.version.test.TestAutoVersioning.testAutoVersioningBeforeAlwaysMinor(TestAutoVersioning.java:270)