You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2018/06/08 10:45:18 UTC

[GitHub] liubao68 commented on a change in pull request #759: [SCB-653]Transfer-Encoding and Content-Length can not be set to response

liubao68 commented on a change in pull request #759: [SCB-653]Transfer-Encoding and Content-Length can not be set to response
URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/759#discussion_r194020198
 
 

 ##########
 File path: demo/demo-jaxrs/jaxrs-server/src/main/java/org/apache/servicecomb/demo/jaxrs/server/RequestClientTimeOut.java
 ##########
 @@ -35,7 +35,7 @@
   @Path("/add")
   @POST
   public int add(@FormParam("a") int a, @FormParam("b") int b) throws InterruptedException {
-    Thread.sleep(1000);
+    Thread.sleep(3000);
 
 Review comment:
   more than 2 seconds. I found time based test cases may not work property if we using time smaller than 1 seconds. So used 1 second as a unit. Integration tests takes more several seconds and I think is acceptable.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services