Repository: commons-lang
Updated Branches:
  refs/heads/master a9f350eb9 -> 8c7687b9f


[LANG-1297] SystemUtils.getHostName() API. Get test passing on Jenkins.

Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/8c7687b9
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/8c7687b9
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/8c7687b9

Branch: refs/heads/master
Commit: 8c7687b9ffa8e95492a5b1c62618f8cfad34299d
Parents: a9f350e
Author: Gary Gregory <ggreg...@apache.org>
Authored: Wed Dec 14 15:31:53 2016 -0800
Committer: Gary Gregory <ggreg...@apache.org>
Committed: Wed Dec 14 15:31:53 2016 -0800

----------------------------------------------------------------------
 src/test/java/org/apache/commons/lang3/SystemUtilsTest.java | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/8c7687b9/src/test/java/org/apache/commons/lang3/SystemUtilsTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/lang3/SystemUtilsTest.java 
b/src/test/java/org/apache/commons/lang3/SystemUtilsTest.java
index d10b2d9..cc1d492 100644
--- a/src/test/java/org/apache/commons/lang3/SystemUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/SystemUtilsTest.java
@@ -61,8 +61,6 @@ public class SystemUtilsTest {
     @Test
     public void testGetHostName() {
         final String hostName = SystemUtils.getHostName();
-        Assert.assertNotNull(hostName);
-        Assert.assertFalse(hostName.isEmpty());
         String expected = SystemUtils.IS_OS_WINDOWS ? 
System.getenv("COMPUTERNAME") : System.getenv("HOSTNAME");
         Assert.assertEquals(expected, hostName);
     }

Reply via email to