jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1469820 - in /jena/trunk/jena-arq/src/test/java/com/hp/hpl/jena/sparql/api: TestQueryExecutionCancel.java TestQueryExecutionTimeout.java
Date Fri, 19 Apr 2013 13:23:12 GMT
Author: andy
Date: Fri Apr 19 13:23:12 2013
New Revision: 1469820

URL: http://svn.apache.org/r1469820
Log:
Minor tidying.

Modified:
    jena/trunk/jena-arq/src/test/java/com/hp/hpl/jena/sparql/api/TestQueryExecutionCancel.java
    jena/trunk/jena-arq/src/test/java/com/hp/hpl/jena/sparql/api/TestQueryExecutionTimeout.java

Modified: jena/trunk/jena-arq/src/test/java/com/hp/hpl/jena/sparql/api/TestQueryExecutionCancel.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-arq/src/test/java/com/hp/hpl/jena/sparql/api/TestQueryExecutionCancel.java?rev=1469820&r1=1469819&r2=1469820&view=diff
==============================================================================
--- jena/trunk/jena-arq/src/test/java/com/hp/hpl/jena/sparql/api/TestQueryExecutionCancel.java
(original)
+++ jena/trunk/jena-arq/src/test/java/com/hp/hpl/jena/sparql/api/TestQueryExecutionCancel.java
Fri Apr 19 13:23:12 2013
@@ -117,7 +117,6 @@ public class TestQueryExecutionCancel ex
 
     class CancelThreadRunner extends Thread 
     {
-
     	private QueryExecution qExec = null ;
     	private int count = 0 ;
 
@@ -150,7 +149,5 @@ public class TestQueryExecutionCancel ex
     	{
     		return count ;
     	}
-
     }
-    
 }

Modified: jena/trunk/jena-arq/src/test/java/com/hp/hpl/jena/sparql/api/TestQueryExecutionTimeout.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-arq/src/test/java/com/hp/hpl/jena/sparql/api/TestQueryExecutionTimeout.java?rev=1469820&r1=1469819&r2=1469820&view=diff
==============================================================================
--- jena/trunk/jena-arq/src/test/java/com/hp/hpl/jena/sparql/api/TestQueryExecutionTimeout.java
(original)
+++ jena/trunk/jena-arq/src/test/java/com/hp/hpl/jena/sparql/api/TestQueryExecutionTimeout.java
Fri Apr 19 13:23:12 2013
@@ -62,10 +62,16 @@ public class TestQueryExecutionTimeout e
         FunctionRegistry.get().remove(ns + "wait") ;
     }
 
-    static private String prefix = "PREFIX f: <http://example/ns#>" ;
-
-    // Numbers all a bit iffy - but don't want testing to be to slow ...
-
+    static private String prefix = 
+        "PREFIX f:       <http://example/ns#>\n"+
+        "PREFIX afn:     <http://jena.hpl.hp.com/ARQ/function#>\n" ;
+
+    // Numbers all a bit iffy aand can result in test failures
+    // on a heavily loaded CI system.
+    // But we don't want testing to be to slow when used in general
+    // development.  Could split into development and integration
+    // level checking.
+    
     @Test
     public void timeout_01()
     {



Mime
View raw message