Author: objectiser
Date: 2010-03-08 12:53:02 -0500 (Mon, 08 Mar 2010)
New Revision: 546
Modified:
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELSimpleCorrelationTestCase.java
Log:
Add extra delay before issuing test messages, as loaded servers seem to take a long time
to compile BPEL process.
Modified:
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELSimpleCorrelationTestCase.java
===================================================================
---
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELSimpleCorrelationTestCase.java 2010-03-08
13:11:33 UTC (rev 545)
+++
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELSimpleCorrelationTestCase.java 2010-03-08
17:53:02 UTC (rev 546)
@@ -43,6 +43,18 @@
}
public void testSendHelloGoodbye() throws Exception {
+
+ // Additional delay - this is the first test, and on loaded servers
+ // it can sometimes fail if the BPEL process has not had time to be
+ // compiled
+ try {
+ synchronized(this) {
+ wait(10000);
+ }
+ } catch(Exception e) {
+ e.printStackTrace();
+ }
+
String result1=sendSOAPMessage("hello_request1.xml",
"http://localhost:8080/Quickstart_bpel_simple_correlationWS");
Show replies by date