synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sami...@apache.org
Subject svn commit: r366130 - /incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/SendOnProcessorWithRuleTest.java
Date Thu, 05 Jan 2006 09:04:50 GMT
Author: saminda
Date: Thu Jan  5 01:04:42 2006
New Revision: 366130

URL: http://svn.apache.org/viewcvs?rev=366130&view=rev
Log:
Updated the testcase

Modified:
    incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/SendOnProcessorWithRuleTest.java

Modified: incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/SendOnProcessorWithRuleTest.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/SendOnProcessorWithRuleTest.java?rev=366130&r1=366129&r2=366130&view=diff
==============================================================================
--- incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/SendOnProcessorWithRuleTest.java
(original)
+++ incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/SendOnProcessorWithRuleTest.java
Thu Jan  5 01:04:42 2006
@@ -62,14 +62,16 @@
     }
 
     public void testSendProcessorMultipleTimes() throws Exception {
-        ServiceClient serviceClient = new ServiceClient();
         for (int i = 0; i < 5; i++) {
+            ServiceClient serviceClient = new ServiceClient();
             Options options = new Options();
             options.setTo(targetEpr);
             serviceClient.setOptions(options);
             OMElement response =
                     serviceClient.sendReceive(Axis2EvnSetup.payload());
             assertEquals("Synapse Testing String_Response", response.getText());
+            serviceClient.finalizeInvoke();
+            Thread.sleep(2000);
         }
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Mime
View raw message