WASdev / standards.jsr352.tck

Home of the TCK for the Java Batch standard (JSR 352, Batch Applications for the Java Platform). #JavaEE7
Apache License 2.0
1 stars 9 forks source link

Test that skip-limit / retry-limit of 0 mean don't skip/retry at all. #19

Closed scottkurz closed 8 years ago

scottkurz commented 9 years ago

Esp. since start-limit=0 means no-limit...worth clarifying.

jvfullam commented 8 years ago

I think it would also be good to add a test that causes the skip-limit to be reached by throwing exceptions from a combination of the reader/ processor/ writer. For example: skip-limit=2, reader throws 1 skippable exception, processor throws 1 skippable exception, and writer throws 1 skippable exception --> skip-limit is exceeded by the writer's exception, verify that the job fails.

scottkurz commented 8 years ago

Good idea (to test against the aggregate count). Thanks for the contribution.