OPEN - issue BATCH-170: Concurrent modification of StepExecution when running an asynchrounous step operation
http://opensource.atlassian.com/projects/spring/browse/BATCH-170 Fix broken tests.
This commit is contained in:
@@ -49,6 +49,14 @@ public class EntityTests extends TestCase {
|
||||
assertEquals(null, entity.getVersion());
|
||||
}
|
||||
|
||||
/**
|
||||
* Test method for {@link org.springframework.batch.core.domain.Entity#getVersion()}.
|
||||
*/
|
||||
public void testIncrementVersion() {
|
||||
entity.incrementVersion();
|
||||
assertEquals(new Integer(0), entity.getVersion());
|
||||
}
|
||||
|
||||
/**
|
||||
* @throws Exception
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user