tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r1159600 - /tuscany/sca-java-2.x/trunk/testing/itest/async-services/src/main/java/org/apache/tuscany/sca/itest/Service1ClientImpl.java
Date Fri, 19 Aug 2011 11:44:02 GMT
Author: antelder
Date: Fri Aug 19 11:44:01 2011
New Revision: 1159600

URL: http://svn.apache.org/viewvc?rev=1159600&view=rev
Log:
Add a sleep after the sync request otherwise the next async request fails for a reason i've
still to work out. Otherwise all these tests work ok for me now so committing so i can see
if they work ok on hudson now without hanging

Modified:
    tuscany/sca-java-2.x/trunk/testing/itest/async-services/src/main/java/org/apache/tuscany/sca/itest/Service1ClientImpl.java

Modified: tuscany/sca-java-2.x/trunk/testing/itest/async-services/src/main/java/org/apache/tuscany/sca/itest/Service1ClientImpl.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/async-services/src/main/java/org/apache/tuscany/sca/itest/Service1ClientImpl.java?rev=1159600&r1=1159599&r2=1159600&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/async-services/src/main/java/org/apache/tuscany/sca/itest/Service1ClientImpl.java
(original)
+++ tuscany/sca-java-2.x/trunk/testing/itest/async-services/src/main/java/org/apache/tuscany/sca/itest/Service1ClientImpl.java
Fri Aug 19 11:44:01 2011
@@ -36,10 +36,15 @@ public class Service1ClientImpl implemen
     @Override
     public String operation1(String input) {
 
-        String resp = service1.operation1(input);
+        String resp = "";
+        resp += service1.operation1(input);
+        try {
+            Thread.sleep(3000);
+        } catch (InterruptedException e) {
+            e.printStackTrace();
+        }
         resp += invokeAsyncType1(input);
         resp += invokeAsyncType2(input);
-        
         return resp;
     }
 



Mime
View raw message