BATCH-1100: moved state data update to @AfterWrite method

This commit is contained in:
dhgarrette
2009-02-24 19:01:13 +00:00
parent 0a49194ad4
commit e0c30c26c1
3 changed files with 12 additions and 11 deletions

View File

@@ -24,7 +24,6 @@ import org.springframework.jdbc.core.simple.SimpleJdbcTemplate;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.jdbc.SimpleJdbcTestUtils;
import org.springframework.transaction.annotation.Transactional;
/**
* Error is encountered during writing - transaction is rolled back and the
@@ -126,7 +125,6 @@ public class SkipSampleFunctionalTests {
* <li>This step does not occur. No error records are logged.
* </ul>
*/
@Transactional
@Test
public void testJobIncrementing() {
//
@@ -136,10 +134,7 @@ public class SkipSampleFunctionalTests {
Map<String, Object> execution1 = this.getJobExecution(id1);
assertEquals("COMPLETED", execution1.get("STATUS"));
//
// TODO: Uncomment this!
//
// this.validateLaunchWithSkips();
this.validateLaunchWithSkips();
//
// Clear the data