-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JBERET-597 skippable exception thrown in ItemWriter triggers new chun… #381
JBERET-597 skippable exception thrown in ItemWriter triggers new chun… #381
Conversation
jberet-core/src/main/java/org/jberet/runtime/runner/ChunkRunner.java
Outdated
Show resolved
Hide resolved
…k within the old transaction
a3cbe8e
to
cecb409
Compare
@liweinan this PR should be ready to merge. This change is in an important code block, so you may want to test it with batch TCK in Java SE, and in WildFly. You may also want to cut a release (the last release was in July 2023) of jberet-core. |
@chengfang Okay! I'll do the test and then merge it to do the release, and then I'll take the work in WildFly and EAP part. |
I checked out this branch locally and built the JBeret: ➤ git checkout skippable.exception.JBERET-597 And then I setup the local environment according to the README in export BATCH_TCK_DIR=/Users/weli/works/jberet_tck/jakarta.batch.official.tck-2.1.1
export JBERET_PORTING_DIR=/Users/weli/works/jberet_tck/jberet-tck-porting
export JBOSS_HOME=/Users/weli/works/jberet_tck/wildfly/dist/target/wildfly-30.0.0.Final-SNAPSHOT Then I checked out Then I built the /bin/cp $JBERET_PORTING_DIR/src/main/resources/runners/sigtest/pom.xml $BATCH_TCK_DIR/runners/sigtest/pom.xml
/bin/cp $JBERET_PORTING_DIR/src/main/resources/runners/se-classpath/pom.xml $BATCH_TCK_DIR/runners/se-classpath/pom.xml
/bin/cp $JBERET_PORTING_DIR/src/main/resources/runners/platform-arquillian/pom.xml $BATCH_TCK_DIR/runners/platform-arquillian/pom.xml
/bin/cp $JBERET_PORTING_DIR/src/main/resources/runners/platform-arquillian/src/test/resources/arquillian.xml $BATCH_TCK_DIR/runners/platform-arquillian/src/test/resources/arquillian.xml Then I replace the used The I did the SE test firstly and the tests passed: Next I prepare WildFly to do the EE tests. I updated the After the WildFly is prepared, I copied the $ cp $JBERET_PORTING_DIR/target/jberet-tck-porting.jar $JBOSS_HOME/standalone/deployments/ And started the WildFly server: Then I did the /Users/weli/works/jberet_tck/jakarta.batch.official.tck-2.1.1/runners/platform-arquillian And the TCK tests passed: |
@chengfang I have finished doing the TCK testing and record the process of testing in above. Could you please help to verify I'm doing it right? If so I'll merge this PR and do the release. |
@liweinan looks good. thanks for verifying it. |
…k within the old transaction
https://issues.redhat.com/browse/JBERET-597