ACCUMULO-3968 fix warning introduced with version change of junit

Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/c8a63a29
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/c8a63a29
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/c8a63a29

Branch: refs/heads/master
Commit: c8a63a2922946c7619c6b1e2384e268b39197b04
Parents: 11feca2
Author: Eric C. Newton <[email protected]>
Authored: Fri Aug 28 12:06:32 2015 -0400
Committer: Eric C. Newton <[email protected]>
Committed: Fri Aug 28 12:06:32 2015 -0400

----------------------------------------------------------------------
 .../org/apache/accumulo/test/replication/CyclicReplicationIT.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/c8a63a29/test/src/main/java/org/apache/accumulo/test/replication/CyclicReplicationIT.java
----------------------------------------------------------------------
diff --git 
a/test/src/main/java/org/apache/accumulo/test/replication/CyclicReplicationIT.java
 
b/test/src/main/java/org/apache/accumulo/test/replication/CyclicReplicationIT.java
index 3abdb0e..16c317f 100644
--- 
a/test/src/main/java/org/apache/accumulo/test/replication/CyclicReplicationIT.java
+++ 
b/test/src/main/java/org/apache/accumulo/test/replication/CyclicReplicationIT.java
@@ -79,7 +79,7 @@ public class CyclicReplicationIT {
       log.warn("Could not parse timeout.factor, not scaling timeout");
     }
 
-    return new Timeout(scalingFactor * 10 * 60 * 1000);
+    return Timeout.millis(scalingFactor * 10 * 60 * 1000);
   }
 
   @Rule

Reply via email to