jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1469295 - /jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/query/AbstractQueryTest.java
Date Thu, 18 Apr 2013 12:35:21 GMT
Author: jukka
Date: Thu Apr 18 12:35:21 2013
New Revision: 1469295

URL: http://svn.apache.org/r1469295
Log:
Increase query timeout value to prevent unnecessary test failures on slow machines.

Modified:
    jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/query/AbstractQueryTest.java

Modified: jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/query/AbstractQueryTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/query/AbstractQueryTest.java?rev=1469295&r1=1469294&r2=1469295&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/query/AbstractQueryTest.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/query/AbstractQueryTest.java
Thu Apr 18 12:35:21 2013
@@ -266,7 +266,7 @@ public abstract class AbstractQueryTest 
             lines.add(e.toString());
         }
         time = System.currentTimeMillis() - time;
-        if (time > 3000 && !isDebugModeEnabled()) {
+        if (time > 10000 && !isDebugModeEnabled()) {
             fail("Query took too long: " + query + " took " + time + " ms");
         }
         return lines;



Mime
View raw message