You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by td...@apache.org on 2014/06/14 19:48:05 UTC

git commit: MAHOUT-1581 - Increase timeouts to avoid false positives.

Repository: mahout
Updated Branches:
  refs/heads/master c20eee89c -> 6fbf3663b


MAHOUT-1581 - Increase timeouts to avoid false positives.


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

Branch: refs/heads/master
Commit: 6fbf3663b55def1f75fa3bed4690bf9562146921
Parents: c20eee8
Author: Ted Dunning <td...@apache.org>
Authored: Sat Jun 14 10:47:52 2014 -0700
Committer: Ted Dunning <td...@apache.org>
Committed: Sat Jun 14 10:47:52 2014 -0700

----------------------------------------------------------------------
 .../java/org/apache/mahout/math/TestSparseRowMatrix.java    | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mahout/blob/6fbf3663/math/src/test/java/org/apache/mahout/math/TestSparseRowMatrix.java
----------------------------------------------------------------------
diff --git a/math/src/test/java/org/apache/mahout/math/TestSparseRowMatrix.java b/math/src/test/java/org/apache/mahout/math/TestSparseRowMatrix.java
index 28b72f6..457af31 100644
--- a/math/src/test/java/org/apache/mahout/math/TestSparseRowMatrix.java
+++ b/math/src/test/java/org/apache/mahout/math/TestSparseRowMatrix.java
@@ -39,7 +39,7 @@ public final class TestSparseRowMatrix extends MatrixTest {
   }
 
 
-  @Test(timeout=5000)
+  @Test(timeout=50000)
   public void testTimesSparseEfficiency() {
     Random raw = RandomUtils.getRandom();
     Gamma gen = new Gamma(0.1, 0.1, raw);
@@ -85,7 +85,7 @@ public final class TestSparseRowMatrix extends MatrixTest {
     }
   }
 
-  @Test(timeout=5000)
+  @Test(timeout=50000)
   public void testTimesDenseEfficiency() {
     Random raw = RandomUtils.getRandom();
     Gamma gen = new Gamma(0.1, 0.1, raw);
@@ -124,7 +124,7 @@ public final class TestSparseRowMatrix extends MatrixTest {
     }
   }
 
-  @Test(timeout=5000)
+  @Test(timeout=50000)
   public void testTimesOtherSparseEfficiency() {
     Random raw = RandomUtils.getRandom();
     Gamma gen = new Gamma(0.1, 0.1, raw);
@@ -160,10 +160,9 @@ public final class TestSparseRowMatrix extends MatrixTest {
   }
 
 
-  @Test(timeout=5000)
+  @Test(timeout=50000)
   public void testTimesCorrect() {
     Random raw = RandomUtils.getRandom();
-    Gamma gen = new Gamma(0.1, 0.1, raw);
 
     // build two large sequential sparse matrices and multiply them
     Matrix x = new SparseRowMatrix(100, 2000, false)