Author: davidillsley
Date: Sat Nov 15 03:58:55 2008
New Revision: 714237
URL: http://svn.apache.org/viewvc?rev=714237&view=rev
Log:
Break out the async echo tests to help debug what looks like a race condition
Modified:
webservices/sandesha/trunk/java/modules/persistence/src/test/java/org/apache/sandesha2/RMScenariosTest.java
Modified: webservices/sandesha/trunk/java/modules/persistence/src/test/java/org/apache/sandesha2/RMScenariosTest.java
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/persistence/src/test/java/org/apache/sandesha2/RMScenariosTest.java?rev=714237&r1=714236&r2=714237&view=diff
==============================================================================
--- webservices/sandesha/trunk/java/modules/persistence/src/test/java/org/apache/sandesha2/RMScenariosTest.java (original)
+++ webservices/sandesha/trunk/java/modules/persistence/src/test/java/org/apache/sandesha2/RMScenariosTest.java Sat Nov 15 03:58:55 2008
@@ -83,21 +83,27 @@
runPing(true, true);
}
- public void testAsyncEcho() throws Exception {
+ public void testAsyncEchoWithSyncAck() throws Exception {
// Test async echo with sync acks
Options clientOptions = new Options();
- runEcho(clientOptions, true, false, false, true, false);
-
+ runEcho(clientOptions, true, false, false,true,true);
+ }
+
+ public void testAsyncEchoWithAsyncAck() throws Exception {
// Test async echo with async acks
+ Options clientOptions = new Options();
clientOptions = new Options();
- runEcho(clientOptions, true, true, false, true, false);
-
+ runEcho(clientOptions, true, true, false,true,true);
+ }
+
+ public void testAsyncEchoWithAyncAckAndOffer() throws Exception {
// Test async echo with async acks and offer
+ Options clientOptions = new Options();
clientOptions = new Options();
- clientOptions.setProperty(SandeshaClientConstants.OFFERED_SEQUENCE_ID, SandeshaUtil.getUUID());
- runEcho(clientOptions, true, true, false, true, true);
+ clientOptions.setProperty(SandeshaClientConstants.OFFERED_SEQUENCE_ID,SandeshaUtil.getUUID());
+ runEcho(clientOptions, true, true, false,true,true);
}
-
+
public void testSyncEchoWithOffer() throws Exception {
// Test sync echo with an offer, and the 1.1 spec
Options clientOptions = new Options();
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.