flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject [59/63] [abbrv] git commit: Fix test to be backwards compatible with Java 6
Date Sun, 21 Sep 2014 02:13:23 GMT
Fix test to be backwards compatible with Java 6


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

Branch: refs/heads/master
Commit: cd699c562ec26d3909af08afb04de6080e4ad18f
Parents: 73ebd3e
Author: Stephan Ewen <sewen@apache.org>
Authored: Wed Sep 17 15:18:12 2014 +0200
Committer: Stephan Ewen <sewen@apache.org>
Committed: Sat Sep 20 20:21:02 2014 +0200

----------------------------------------------------------------------
 .../java/org/apache/flink/runtime/taskmanager/TaskManagerTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/cd699c56/flink-runtime/src/test/java/org/apache/flink/runtime/taskmanager/TaskManagerTest.java
----------------------------------------------------------------------
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/taskmanager/TaskManagerTest.java
b/flink-runtime/src/test/java/org/apache/flink/runtime/taskmanager/TaskManagerTest.java
index ba08a9f..2da8b9f 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/taskmanager/TaskManagerTest.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/taskmanager/TaskManagerTest.java
@@ -387,7 +387,7 @@ public class TaskManagerTest {
 	}
 	
 	public static TaskManager createTaskManager(JobManager jm) throws Exception {
-		InetAddress localhost = InetAddress.getLoopbackAddress();
+		InetAddress localhost = InetAddress.getLocalHost();
 		InetSocketAddress jmMockAddress = new InetSocketAddress(localhost, 55443);
 		
 		Configuration cfg = new Configuration();


Mime
View raw message