Explorar o código

MAPREDUCE-4558. Disable TestJobTrackerSafeMode (Contributed by Siddharth Seth)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1374095 13f79535-47bb-0310-9956-ffa450edef68
Siddharth Seth %!s(int64=13) %!d(string=hai) anos
pai
achega
2517644287

+ 2 - 0
CHANGES.txt

@@ -176,6 +176,8 @@ Release 1.2.0 - unreleased
 
     HDFS-3658. Fix bugs in TestDFSClientRetries and add more tests.  (szetszwo)
 
+    MAPREDUCE-4558. Disable TestJobTrackerSafeMode (sseth)
+
 Release 1.1.0 - unreleased
 
   INCOMPATIBLE CHANGES

+ 2 - 1
src/test/org/apache/hadoop/mapred/TestJobTrackerSafeMode.java

@@ -35,6 +35,7 @@ import org.junit.*;
  * join back.
  */
 
+@Ignore
 public class TestJobTrackerSafeMode extends TestCase {
   final Path testDir = 
     new Path(System.getProperty("test.build.data", "/tmp"), "jt-safemode");
@@ -197,7 +198,7 @@ public class TestJobTrackerSafeMode extends TestCase {
 
   private boolean checkTrackers(JobTracker jobtracker, Set<String> present, 
                                 Set<String> absent) {
-    while (jobtracker.getClusterStatus(true).getActiveTrackerNames().size() != 2) {
+    while (jobtracker.getClusterStatus(true).getActiveTrackerNames().size() != 3) {
       LOG.info("Waiting for Initialize all Task Trackers");
       UtilsForTests.waitFor(1000);
     }