You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by sa...@apache.org on 2006/01/05 10:04:50 UTC
svn commit: r366130 -
/incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/SendOnProcessorWithRuleTest.java
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