ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: setters
Date Tue, 24 Mar 2015 16:07:27 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-tc-jclient af2d80508 -> 227cc43f4


setters


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/227cc43f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/227cc43f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/227cc43f

Branch: refs/heads/ignite-tc-jclient
Commit: 227cc43f41d805f2bdb6b791e94c2723f80bfc98
Parents: af2d805
Author: Artem Shutak <ashutak@gridgain.com>
Authored: Tue Mar 24 19:07:49 2015 +0300
Committer: Artem Shutak <ashutak@gridgain.com>
Committed: Tue Mar 24 19:07:49 2015 +0300

----------------------------------------------------------------------
 .../processors/rest/JettyRestProcessorAbstractSelfTest.java   | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/227cc43f/modules/clients/src/test/java/org/apache/ignite/internal/processors/rest/JettyRestProcessorAbstractSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/clients/src/test/java/org/apache/ignite/internal/processors/rest/JettyRestProcessorAbstractSelfTest.java
b/modules/clients/src/test/java/org/apache/ignite/internal/processors/rest/JettyRestProcessorAbstractSelfTest.java
index b301449..da9c109 100644
--- a/modules/clients/src/test/java/org/apache/ignite/internal/processors/rest/JettyRestProcessorAbstractSelfTest.java
+++ b/modules/clients/src/test/java/org/apache/ignite/internal/processors/rest/JettyRestProcessorAbstractSelfTest.java
@@ -80,8 +80,6 @@ abstract class JettyRestProcessorAbstractSelfTest extends AbstractRestProcessorS
         log.info("Inside content 2");
 
         URLConnection conn = url.openConnection();
-
-        conn.setRequestProperty("Content-Length", "1000");
         
         log.info("Inside content 3");
 
@@ -92,6 +90,11 @@ abstract class JettyRestProcessorAbstractSelfTest extends AbstractRestProcessorS
         if (signature != null)
             conn.setRequestProperty("X-Signature", signature);
 
+        conn.setRequestProperty("Content-Length", "1000");
+        conn.setRequestProperty("Connection", "close");
+        System.setProperty("java.net.preferIPv4Stack" , "true");
+        conn.setReadTimeout(2 * 60 * 1000);// 2 min.
+
         log.info("Inside content 5");
 
         InputStream in = conn.getInputStream();


Mime
View raw message