Author: tucu
Date: Wed Feb  6 01:37:41 2013
New Revision: 1442828

URL: http://svn.apache.org/viewvc?rev=1442828&view=rev
Log:
MAPREDUCE-4967. TestJvmReuse fails on assertion. (kkambatl via tucu)

Modified:
    hadoop/common/branches/branch-1/CHANGES.txt
    
hadoop/common/branches/branch-1/src/test/org/apache/hadoop/mapred/TestJvmReuse.java

Modified: hadoop/common/branches/branch-1/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/hadoop/common/branches/branch-1/CHANGES.txt?rev=1442828&r1=1442827&r2=1442828&view=diff
==============================================================================
--- hadoop/common/branches/branch-1/CHANGES.txt (original)
+++ hadoop/common/branches/branch-1/CHANGES.txt Wed Feb  6 01:37:41 2013
@@ -471,6 +471,8 @@ Release 1.2.0 - unreleased
     MAPREDUCE-4843. When using DefaultTaskController, JobLocalizer not thread 
     safe. (kkambatl via tucu)
 
+    MAPREDUCE-4967. TestJvmReuse fails on assertion. (kkambatl via tucu)
+
 Release 1.1.2 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: 
hadoop/common/branches/branch-1/src/test/org/apache/hadoop/mapred/TestJvmReuse.java
URL: 
http://svn.apache.org/viewvc/hadoop/common/branches/branch-1/src/test/org/apache/hadoop/mapred/TestJvmReuse.java?rev=1442828&r1=1442827&r2=1442828&view=diff
==============================================================================
--- 
hadoop/common/branches/branch-1/src/test/org/apache/hadoop/mapred/TestJvmReuse.java
 (original)
+++ 
hadoop/common/branches/branch-1/src/test/org/apache/hadoop/mapred/TestJvmReuse.java
 Wed Feb  6 01:37:41 2013
@@ -17,11 +17,12 @@
  */
 package org.apache.hadoop.mapred;
 
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
+
 import java.io.DataOutputStream;
 import java.io.IOException;
 
-import junit.framework.TestCase;
-
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.FileSystem;
 import org.apache.hadoop.fs.Path;
@@ -29,9 +30,9 @@ import org.apache.hadoop.io.IntWritable;
 import org.apache.hadoop.io.LongWritable;
 import org.apache.hadoop.io.Text;
 import org.junit.Ignore;
+import org.junit.Test;
 
-@Ignore
-public class TestJvmReuse extends TestCase {
+public class TestJvmReuse {
   private static Path rootDir = new Path(System.getProperty("test.build.data",
       "/tmp"), TestJvmReuse.class.getName());
   private int numMappers = 5;
@@ -141,6 +142,8 @@ public class TestJvmReuse extends TestCa
     }
   }
 
+  @Ignore
+  @Test
   public void testTaskLogs() throws IOException {
     MiniMRCluster mr = null;
     try {


Reply via email to