We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc6becd commit 46dcdf2Copy full SHA for 46dcdf2
1 file changed
spring-batch-core/src/test/java/org/springframework/batch/core/step/item/ChunkOrientedStepTests.java
@@ -337,7 +337,8 @@ void testItemStreamUpdateStillOccursWhenChunkRollsBack_bugReproduction() throws
337
// when: execute step (writer causes chunk rollback)
338
step.execute(stepExecution);
339
340
- // then: due to current bug the stream update count becomes 1 although chunk rolled back
+ // then: due to current bug the stream update count becomes 1 although chunk
341
+ // rolled back
342
assertEquals(0, trackingItemStream.getUpdateCount(),
343
"ItemStream should not be updated when chunk transaction fails (bug reproduction)");
344
}
@@ -362,6 +363,7 @@ public void close() {
362
363
int getUpdateCount() {
364
return this.updateCount;
365
366
+
367
368
369
0 commit comments