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: remove hooks
Date Thu, 26 Mar 2015 15:29:48 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-tc-jclient 12dde2f3e -> 168cabe0d


remove hooks


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

Branch: refs/heads/ignite-tc-jclient
Commit: 168cabe0d8a6fe5ee067a74b9c88f0f33a9aff53
Parents: 12dde2f
Author: Artem Shutak <ashutak@gridgain.com>
Authored: Thu Mar 26 18:27:29 2015 +0300
Committer: Artem Shutak <ashutak@gridgain.com>
Committed: Thu Mar 26 18:27:29 2015 +0300

----------------------------------------------------------------------
 .../JettyRestProcessorAbstractSelfTest.java     | 20 --------------------
 1 file changed, 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/168cabe0/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 21c9e1f..8722a94 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
@@ -21,7 +21,6 @@ import org.apache.ignite.internal.util.typedef.*;
 
 import java.io.*;
 import java.net.*;
-import java.nio.charset.*;
 import java.util.*;
 import java.util.regex.*;
 
@@ -71,8 +70,6 @@ abstract class JettyRestProcessorAbstractSelfTest extends AbstractRestProcessorS
         for (Map.Entry<String, String> e : params.entrySet())
             addr += e.getKey() + '=' + e.getValue() + '&';
 
-        info("addr=" + addr);
-
         URL url = new URL(addr);
 
         URLConnection conn = url.openConnection();
@@ -82,25 +79,8 @@ abstract class JettyRestProcessorAbstractSelfTest extends AbstractRestProcessorS
         if (signature != null)
             conn.setRequestProperty("X-Signature", signature);
 
-        // Hooks ------------------
-        conn.setRequestProperty("Content-Length", "1000");
-
-        conn.setRequestProperty("Connection", "close");
-        System.setProperty("http.keepAlive", "false");
-
-        System.setProperty("java.net.preferIPv4Stack" , "true");
-
-        conn.setRequestProperty("Accept-Charset", StandardCharsets.UTF_8.name());
-
-        conn.setReadTimeout(2 * 60 * 1000);// 2 min.
-        // Hooks ------------------
-
-        log.info("Inside content 5");
-
         InputStream in = conn.getInputStream();
 
-        log.info("Inside content 6");
-
         LineNumberReader rdr = new LineNumberReader(new InputStreamReader(in));
 
         StringBuilder buf = new StringBuilder(256);


Mime
View raw message