Updates to continue debugging
This commit is contained in:
@@ -155,7 +155,7 @@ subprojects { subproject ->
|
||||
append = false
|
||||
destinationFile = file("$buildDir/jacoco.exec")
|
||||
}
|
||||
|
||||
|
||||
testLogging {
|
||||
showStandardStreams = true
|
||||
}
|
||||
|
||||
@@ -89,10 +89,14 @@ public class JdbcPagingItemReaderAsyncTests {
|
||||
JdbcTemplate jdbcTemplate = new JdbcTemplate(dataSource);
|
||||
System.out.println("********* jdbcTemplate = " + jdbcTemplate);
|
||||
maxId = jdbcTemplate.queryForObject("SELECT MAX(ID) from T_FOOS", Integer.class);
|
||||
System.out.println("********* maxId after = " + maxId);
|
||||
for (int i = ITEM_COUNT; i > maxId; i--) {
|
||||
System.out.println("********* inserting a foo");
|
||||
jdbcTemplate.update("INSERT into T_FOOS (ID,NAME,VALUE) values (?, ?, ?)", i, "foo" + i, i);
|
||||
System.out.println("********* a foo was inserted");
|
||||
}
|
||||
assertEquals(ITEM_COUNT, JdbcTestUtils.countRowsInTable(jdbcTemplate, "T_FOOS"));
|
||||
System.out.println("******** init is complete");
|
||||
}
|
||||
|
||||
@After
|
||||
|
||||
Reference in New Issue
Block a user