Browse Source

YARN-4145. Make RMHATestBase abstract so its not run when running all tests under that namespace (adhoot via rkanter)

(cherry picked from commit ea4bb2749f966a5eaf712d1dbb2c845df0f5ca67)
Robert Kanter 9 years ago
parent
commit
43f051a09a

+ 3 - 0
hadoop-yarn-project/CHANGES.txt

@@ -375,6 +375,9 @@ Release 2.8.0 - UNRELEASED
 
 
     YARN-4086. Allow Aggregated Log readers to handle HAR files (rkanter)
     YARN-4086. Allow Aggregated Log readers to handle HAR files (rkanter)
 
 
+    YARN-4145. Make RMHATestBase abstract so its not run when running all
+    tests under that namespace (adhoot via rkanter)
+
   OPTIMIZATIONS
   OPTIMIZATIONS
 
 
     YARN-3339. TestDockerContainerExecutor should pull a single image and not
     YARN-3339. TestDockerContainerExecutor should pull a single image and not

+ 1 - 1
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/RMHATestBase.java

@@ -45,7 +45,7 @@ import org.junit.Assert;
 import org.junit.Before;
 import org.junit.Before;
 
 
 
 
-public class RMHATestBase extends ClientBaseWithFixes{
+public abstract class RMHATestBase extends ClientBaseWithFixes{
 
 
   private static final int ZK_TIMEOUT_MS = 5000;
   private static final int ZK_TIMEOUT_MS = 5000;
   private static StateChangeRequestInfo requestInfo =
   private static StateChangeRequestInfo requestInfo =