Author: cos
Date: Thu May 30 19:14:26 2013
New Revision: 1487982
URL: http://svn.apache.org/r1487982
Log:
HADOOP-9605. Update junit dependency. Contributed by Timothy St. Clair.
Modified:
hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/CHANGES.txt
hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/test/UnitTestcaseTimeLimit.java
Modified:
hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/CHANGES.txt
URL:
http://svn.apache.org/viewvc/hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/CHANGES.txt?rev=1487982&r1=1487981&r2=1487982&view=diff
==============================================================================
---
hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/CHANGES.txt
(original)
+++
hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/CHANGES.txt
Thu May 30 19:14:26 2013
@@ -375,6 +375,8 @@ Release 2.0.5-beta - UNRELEASED
HADOOP-9607. Fixes in Javadoc build (Timothy St. Clair via cos)
+ HADOOP-9605. Update junit dependency. (Timothy St. Clair via cos)
+
Release 2.0.4-alpha - 2013-04-25
INCOMPATIBLE CHANGES
Modified:
hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/test/UnitTestcaseTimeLimit.java
URL:
http://svn.apache.org/viewvc/hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/test/UnitTestcaseTimeLimit.java?rev=1487982&r1=1487981&r2=1487982&view=diff
==============================================================================
---
hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/test/UnitTestcaseTimeLimit.java
(original)
+++
hadoop/common/branches/branch-2/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/test/UnitTestcaseTimeLimit.java
Thu May 30 19:14:26 2013
@@ -18,7 +18,7 @@
package org.apache.hadoop.test;
import org.junit.Rule;
-import org.junit.rules.MethodRule;
+import org.junit.rules.TestRule;
import org.junit.rules.Timeout;
/**
@@ -30,5 +30,5 @@ import org.junit.rules.Timeout;
public class UnitTestcaseTimeLimit {
public final int timeOutSecs = 10;
- @Rule public MethodRule globalTimeout = new Timeout(timeOutSecs * 1000);
+ @Rule public TestRule globalTimeout = new Timeout(timeOutSecs * 1000);
}