Author: veithen
Date: Thu Dec 29 09:45:31 2011
New Revision: 1225486
URL: http://svn.apache.org/viewvc?rev=1225486&view=rev
Log:
Put each async echo scenario in a different test case to make it easier to
analyze the sporadic test failure we are seeing in the Jenkins builds.
Modified:
axis/axis2/java/sandesha/trunk/modules/tests/src/test/java/org/apache/sandesha2/scenarios/RMScenariosTest.java
axis/axis2/java/sandesha/trunk/modules/tests/src/test/java/org/apache/sandesha2/scenarios/UnsupportedScenariosTest.java
Modified:
axis/axis2/java/sandesha/trunk/modules/tests/src/test/java/org/apache/sandesha2/scenarios/RMScenariosTest.java
URL:
http://svn.apache.org/viewvc/axis/axis2/java/sandesha/trunk/modules/tests/src/test/java/org/apache/sandesha2/scenarios/RMScenariosTest.java?rev=1225486&r1=1225485&r2=1225486&view=diff
==============================================================================
---
axis/axis2/java/sandesha/trunk/modules/tests/src/test/java/org/apache/sandesha2/scenarios/RMScenariosTest.java
(original)
+++
axis/axis2/java/sandesha/trunk/modules/tests/src/test/java/org/apache/sandesha2/scenarios/RMScenariosTest.java
Thu Dec 29 09:45:31 2011
@@ -83,17 +83,18 @@ public class RMScenariosTest extends San
runPing(true, true);
}
- public void testAsyncEcho() throws Exception {
- // Test async echo with sync acks
+ public void testAsyncEchoWithSyncAcks() throws Exception {
Options clientOptions = new Options();
runEcho(clientOptions, true, false, false,true,false);
+ }
- // Test async echo with async acks
- clientOptions = new Options();
+ public void testAsyncEchoWithAsyncAcks() throws Exception {
+ Options clientOptions = new Options();
runEcho(clientOptions, true, true, false,true,false);
+ }
- // Test async echo with async acks and offer
- clientOptions = new Options();
+ public void testAsyncEchoWithAsyncAcksAndOffer() throws Exception {
+ Options clientOptions = new Options();
clientOptions.setProperty(SandeshaClientConstants.OFFERED_SEQUENCE_ID,SandeshaUtil.getUUID());
runEcho(clientOptions, true, true, false,true,true);
}
Modified:
axis/axis2/java/sandesha/trunk/modules/tests/src/test/java/org/apache/sandesha2/scenarios/UnsupportedScenariosTest.java
URL:
http://svn.apache.org/viewvc/axis/axis2/java/sandesha/trunk/modules/tests/src/test/java/org/apache/sandesha2/scenarios/UnsupportedScenariosTest.java?rev=1225486&r1=1225485&r2=1225486&view=diff
==============================================================================
---
axis/axis2/java/sandesha/trunk/modules/tests/src/test/java/org/apache/sandesha2/scenarios/UnsupportedScenariosTest.java
(original)
+++
axis/axis2/java/sandesha/trunk/modules/tests/src/test/java/org/apache/sandesha2/scenarios/UnsupportedScenariosTest.java
Thu Dec 29 09:45:31 2011
@@ -45,10 +45,16 @@ public class UnsupportedScenariosTest ex
//
// Dummy test methods to stop us invoking the parent methods
//
- public void testAsyncEcho() throws Exception {
- // Do nothing
- }
- public void testPing() throws Exception {
+ public void testAsyncEchoWithSyncAcks() throws Exception {
+ // Do nothing
+ }
+ public void testAsyncEchoWithAsyncAcks() throws Exception {
+ // Do nothing
+ }
+ public void testAsyncEchoWithAsyncAcksAndOffer() throws Exception {
+ // Do nothing
+ }
+ public void testPing() throws Exception {
// Do nothing
}
public void testSyncEcho() throws Exception {