瀏覽代碼

HADOOP-9217. Print thread dumps when hadoop-common tests fail. Contributed by Andrey Klochkov.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1433713 13f79535-47bb-0310-9956-ffa450edef68
Suresh Srinivas 12 年之前
父節點
當前提交
40a0ed4507
共有 2 個文件被更改,包括 14 次插入0 次删除
  1. 2 0
      hadoop-common-project/hadoop-common/CHANGES.txt
  2. 12 0
      hadoop-common-project/hadoop-common/pom.xml

+ 2 - 0
hadoop-common-project/hadoop-common/CHANGES.txt

@@ -1249,6 +1249,8 @@ Release 0.23.6 - UNRELEASED
   NEW FEATURES
 
   IMPROVEMENTS
+    HADOOP-9217. Print thread dumps when hadoop-common tests fail.
+    (Andrey Klochkov via suresh)
 
   OPTIMIZATIONS
 

+ 12 - 0
hadoop-common-project/hadoop-common/pom.xml

@@ -453,6 +453,18 @@
           </excludes>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <properties>
+            <property>
+              <name>listener</name>
+              <value>org.apache.hadoop.test.TimedOutTestsListener</value>
+            </property>
+          </properties>
+        </configuration>
+      </plugin>
     </plugins>
   </build>