hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [2/2] hadoop git commit: HADOOP-12655. TestHttpServer.testBindAddress bind port range is wider than expected. (Wei-Chiu Chuang via stevel)
Date Thu, 07 Jan 2016 14:52:06 GMT
HADOOP-12655. TestHttpServer.testBindAddress bind port range is wider  than expected. (Wei-Chiu
Chuang via stevel)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/31905348
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/31905348
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/31905348

Branch: refs/heads/trunk
Commit: 3190534814587a0e6cb7d99b01cca4480425458b
Parents: 3fcdbe0
Author: Steve Loughran <stevel@apache.org>
Authored: Thu Jan 7 14:51:34 2016 +0000
Committer: Steve Loughran <stevel@apache.org>
Committed: Thu Jan 7 14:51:53 2016 +0000

----------------------------------------------------------------------
 hadoop-common-project/hadoop-common/CHANGES.txt                  | 4 +++-
 .../src/test/java/org/apache/hadoop/http/TestHttpServer.java     | 3 ---
 2 files changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/31905348/hadoop-common-project/hadoop-common/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt
index 258b4e0..a603cd9 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -658,7 +658,9 @@ Release 2.9.0 - UNRELEASED
 
     HADOOP-12663. Remove Hard-Coded Values From FileSystem.java.
     (BELUGA BEHR via stevel)
-    
+
+    HADOOP-12655. TestHttpServer.testBindAddress bind port range is wider
+    than expected. (Wei-Chiu Chuang via stevel)
 
   BUG FIXES
 

http://git-wip-us.apache.org/repos/asf/hadoop/blob/31905348/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/TestHttpServer.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/TestHttpServer.java
b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/TestHttpServer.java
index 5b202da..4d2e1bf 100644
--- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/TestHttpServer.java
+++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/TestHttpServer.java
@@ -534,9 +534,6 @@ public class TestHttpServer extends HttpServerFunctionalTest {
         assertTrue(boundPort != 0); // ephemeral should now return bound port
       } else if (findPort) {
         assertTrue(boundPort > port);
-        // allow a little wiggle room to prevent random test failures if
-        // some consecutive ports are already in use
-        assertTrue(boundPort - port < 8);
       }
     } catch (Exception e) {
       server.stop();


Mime
View raw message