tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bi...@apache.org
Subject git commit: TEZ-774. Fix name resolution for local addresses in test (bikas)
Date Tue, 04 Feb 2014 03:54:42 GMT
Updated Branches:
  refs/heads/master 6e44345cc -> 55e79c622


TEZ-774. Fix name resolution for local addresses in test (bikas)


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

Branch: refs/heads/master
Commit: 55e79c6222e9fa5017113cec4785b8289ba9186c
Parents: 6e44345
Author: Bikas Saha <bikas@apache.org>
Authored: Mon Feb 3 19:53:44 2014 -0800
Committer: Bikas Saha <bikas@apache.org>
Committed: Mon Feb 3 19:54:10 2014 -0800

----------------------------------------------------------------------
 .../test/java/org/apache/tez/dag/app/dag/impl/TestTaskAttempt.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/55e79c62/tez-dag/src/test/java/org/apache/tez/dag/app/dag/impl/TestTaskAttempt.java
----------------------------------------------------------------------
diff --git a/tez-dag/src/test/java/org/apache/tez/dag/app/dag/impl/TestTaskAttempt.java b/tez-dag/src/test/java/org/apache/tez/dag/app/dag/impl/TestTaskAttempt.java
index 9ae5e22..fe7fce8 100644
--- a/tez-dag/src/test/java/org/apache/tez/dag/app/dag/impl/TestTaskAttempt.java
+++ b/tez-dag/src/test/java/org/apache/tez/dag/app/dag/impl/TestTaskAttempt.java
@@ -169,7 +169,7 @@ public class TestTaskAttempt {
         new TaskAttemptImpl.ScheduleTaskattemptTransition();
 
     EventHandler eventHandler = mock(EventHandler.class);
-    String hosts[] = new String[] { "192.168.1.1", "host2", "host3" };
+    String hosts[] = new String[] { "127.0.0.1", "host2", "host3" };
     Set<String> resolved = new TreeSet<String>(
         Arrays.asList(new String[]{ "host1", "host2", "host3" }));
     TaskLocationHint locationHint = new TaskLocationHint(


Mime
View raw message