The SequenceIdGeneratorTest might fail, depending on the order of execution of the tests. The database is not wiped clean, as this is unnecessary as we expect each test to cleanup after itself, yet while the parent class is cleaning up all entities, the sequences table is not reset. The test is verifying that the first ID obtained from the specific Id generator will be the "initial value"; this is not the case as the sequence has been used before by other tests. Yet if this test is run first, then the test will be successfull as the other tests don't assume to be the first to be run. |