-
Notifications
You must be signed in to change notification settings - Fork 76
CTS Batch Test with WildFly
chengfang edited this page Oct 1, 2013
·
18 revisions
Enable debug in $JBOSS_HOME/standalone.conf by uncommenting the following line and changing suspend to yes:
# Sample JPDA settings for remote socket debugging JAVA_OPTS="$JAVA_OPTS -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=y"
cd $JBOSS_HOME/bin ./standalone.sh
cd /Users/cfang/dev/jboss-tck/tck7/trunk/src/com/ibm/jbatch/tck/tests/jslxml ant runclient -Dtest=testInvokeJobWithOnePartitionedStepExitStatus_from_web -Dtest.client=ParallExecutionTests.java
-Dtest.client sysprop tells cts harness in which test class to find the test method. The default value is Client.java. Since this test directory uses non-default test class names, so you need to specify -Dtest.client sysprop.