apex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From david...@apache.org
Subject incubator-apex-core git commit: APEX-181 Make sure unknown host
Date Thu, 08 Oct 2015 01:02:20 GMT
Repository: incubator-apex-core
Updated Branches:
  refs/heads/devel-3 423402420 -> c442568a9


APEX-181 Make sure unknown host


Project: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/commit/c442568a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/tree/c442568a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/diff/c442568a

Branch: refs/heads/devel-3
Commit: c442568a9f2ec995434d27ef263838c2822cbb41
Parents: 4234024
Author: David Yan <david@datatorrent.com>
Authored: Wed Oct 7 18:02:09 2015 -0700
Committer: David Yan <david@datatorrent.com>
Committed: Wed Oct 7 18:02:09 2015 -0700

----------------------------------------------------------------------
 .../java/com/datatorrent/stram/client/StramClientUtilsTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-apex-core/blob/c442568a/engine/src/test/java/com/datatorrent/stram/client/StramClientUtilsTest.java
----------------------------------------------------------------------
diff --git a/engine/src/test/java/com/datatorrent/stram/client/StramClientUtilsTest.java b/engine/src/test/java/com/datatorrent/stram/client/StramClientUtilsTest.java
index 2392b47..e97b49f 100644
--- a/engine/src/test/java/com/datatorrent/stram/client/StramClientUtilsTest.java
+++ b/engine/src/test/java/com/datatorrent/stram/client/StramClientUtilsTest.java
@@ -61,7 +61,7 @@ public class StramClientUtilsTest
     Assert.assertEquals(getHostString("192.168.1.2") + ":8032", StramClientUtils.getSocketConnectString(StramClientUtils.getRMWebAddress(conf,
null)));
     
     // set localhost if host is unknown
-    conf.set(YarnConfiguration.RM_WEBAPP_HTTPS_ADDRESS, "someunknownhost:8032");
+    conf.set(YarnConfiguration.RM_WEBAPP_HTTPS_ADDRESS, "someunknownhost.:8032");
 
     Assert.assertEquals(InetAddress.getLocalHost().getCanonicalHostName() + ":8032", StramClientUtils.getSocketConnectString(StramClientUtils.getRMWebAddress(conf,
null)));
 


Mime
View raw message