Author: atm Date: Fri Sep 14 01:50:35 2012 New Revision: 1384628 URL: http://svn.apache.org/viewvc?rev=1384628&view=rev Log: HADOOP-8755. Print thread dump when tests fail due to timeout. Contributed by Andrey Klochkov.
Modified: hadoop/common/branches/branch-2/hadoop-mapreduce-project/hadoop-mapreduce-client/pom.xml hadoop/common/branches/branch-2/hadoop-mapreduce-project/pom.xml Modified: hadoop/common/branches/branch-2/hadoop-mapreduce-project/hadoop-mapreduce-client/pom.xml URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-2/hadoop-mapreduce-project/hadoop-mapreduce-client/pom.xml?rev=1384628&r1=1384627&r2=1384628&view=diff ============================================================================== --- hadoop/common/branches/branch-2/hadoop-mapreduce-project/hadoop-mapreduce-client/pom.xml (original) +++ hadoop/common/branches/branch-2/hadoop-mapreduce-project/hadoop-mapreduce-client/pom.xml Fri Sep 14 01:50:35 2012 @@ -172,6 +172,18 @@ <effort>Max</effort> </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> Modified: hadoop/common/branches/branch-2/hadoop-mapreduce-project/pom.xml URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-2/hadoop-mapreduce-project/pom.xml?rev=1384628&r1=1384627&r2=1384628&view=diff ============================================================================== --- hadoop/common/branches/branch-2/hadoop-mapreduce-project/pom.xml (original) +++ hadoop/common/branches/branch-2/hadoop-mapreduce-project/pom.xml Fri Sep 14 01:50:35 2012 @@ -220,6 +220,18 @@ </includes> </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>