I'm actually surprised it ever worked. I always use JobRepositoryTestUtils and JdbcTemplate to clean up after a Job integration test.
If you'd like to raise a JIRA ticket it might be a decent target for 3.0 to support a single transaction for testing jobs. It's not really a great idea for production use because jobs tend to run too long for a single transaction.


Reply With Quote
