You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by bi...@apache.org on 2014/02/04 04:54:42 UTC

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

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 <bi...@apache.org>
Authored: Mon Feb 3 19:53:44 2014 -0800
Committer: Bikas Saha <bi...@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(