You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by rv...@apache.org on 2013/08/12 18:57:46 UTC

svn commit: r1513197 - /jena/trunk/jena-jdbc/jena-jdbc-driver-remote/src/test/java/org/apache/jena/jdbc/remote/results/

Author: rvesse
Date: Mon Aug 12 16:57:46 2013
New Revision: 1513197

URL: http://svn.apache.org/r1513197
Log:
Remove what should now be unecessary sleeps

Modified:
    jena/trunk/jena-jdbc/jena-jdbc-driver-remote/src/test/java/org/apache/jena/jdbc/remote/results/TestRemoteEndpointResults.java
    jena/trunk/jena-jdbc/jena-jdbc-driver-remote/src/test/java/org/apache/jena/jdbc/remote/results/TestRemoteEndpointResultsWithAuth.java
    jena/trunk/jena-jdbc/jena-jdbc-driver-remote/src/test/java/org/apache/jena/jdbc/remote/results/TestRemoteEndpointResultsWithGraphUris.java
    jena/trunk/jena-jdbc/jena-jdbc-driver-remote/src/test/java/org/apache/jena/jdbc/remote/results/TestRemoteEndpointResultsWithResultSetTypes.java

Modified: jena/trunk/jena-jdbc/jena-jdbc-driver-remote/src/test/java/org/apache/jena/jdbc/remote/results/TestRemoteEndpointResults.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-jdbc/jena-jdbc-driver-remote/src/test/java/org/apache/jena/jdbc/remote/results/TestRemoteEndpointResults.java?rev=1513197&r1=1513196&r2=1513197&view=diff
==============================================================================
--- jena/trunk/jena-jdbc/jena-jdbc-driver-remote/src/test/java/org/apache/jena/jdbc/remote/results/TestRemoteEndpointResults.java (original)
+++ jena/trunk/jena-jdbc/jena-jdbc-driver-remote/src/test/java/org/apache/jena/jdbc/remote/results/TestRemoteEndpointResults.java Mon Aug 12 16:57:46 2013
@@ -55,28 +55,19 @@ public class TestRemoteEndpointResults e
     
     /**
      * Clean up after each test by resetting the Fuseki instance
-     * @throws InterruptedException 
      */
     @After
-    public void cleanupTest() throws InterruptedException {
+    public void cleanupTest() {
         ServerTest.resetServer();
-        
-        // Sleep attempts to avoid a intermittent timing issue on the build server that can result in hung builds
-        Thread.sleep(250);
     }
     
     /**
      * Clean up after tests by de-allocating the Fuseki instance
      * @throws SQLException 
-     * @throws InterruptedException 
      */
     @AfterClass
-    public static void cleanup() throws SQLException, InterruptedException {
+    public static void cleanup() throws SQLException {
         ServerTest.freeServer();
-        
-        // Sleep attempts to avoid a intermittent timing issue on the build server that can result in hung builds
-        Thread.sleep(250);
-        
         connection.close();
     }
 

Modified: jena/trunk/jena-jdbc/jena-jdbc-driver-remote/src/test/java/org/apache/jena/jdbc/remote/results/TestRemoteEndpointResultsWithAuth.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-jdbc/jena-jdbc-driver-remote/src/test/java/org/apache/jena/jdbc/remote/results/TestRemoteEndpointResultsWithAuth.java?rev=1513197&r1=1513196&r2=1513197&view=diff
==============================================================================
--- jena/trunk/jena-jdbc/jena-jdbc-driver-remote/src/test/java/org/apache/jena/jdbc/remote/results/TestRemoteEndpointResultsWithAuth.java (original)
+++ jena/trunk/jena-jdbc/jena-jdbc-driver-remote/src/test/java/org/apache/jena/jdbc/remote/results/TestRemoteEndpointResultsWithAuth.java Mon Aug 12 16:57:46 2013
@@ -101,31 +101,22 @@ public class TestRemoteEndpointResultsWi
 
     /**
      * Clean up after each test by resetting the Fuseki instance
-     * @throws InterruptedException 
      */
     @After
-    public void cleanupTest() throws InterruptedException {
+    public void cleanupTest() {
         Update clearRequest = new UpdateDrop(Target.ALL) ;
         UpdateProcessor proc = UpdateExecutionFactory.createRemote(clearRequest, ServerTest.serviceUpdate, authenticator) ;
         proc.execute() ;
-        
-        // Sleep attempts to avoid a intermittent timing issue on the build server that can result in hung builds
-        Thread.sleep(250);
     }
 
     /**
      * Clean up after tests by de-allocating the Fuseki instance
      * 
      * @throws SQLException
-     * @throws InterruptedException 
      */
     @AfterClass
-    public static void cleanup() throws SQLException, InterruptedException {
-        server.stop();
-        
-        // Sleep attempts to avoid a intermittent timing issue on the build server that can result in hung builds
-        Thread.sleep(250);
-        
+    public static void cleanup() throws SQLException {
+        server.stop();       
         connection.close();
         realmFile.delete();
     }

Modified: jena/trunk/jena-jdbc/jena-jdbc-driver-remote/src/test/java/org/apache/jena/jdbc/remote/results/TestRemoteEndpointResultsWithGraphUris.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-jdbc/jena-jdbc-driver-remote/src/test/java/org/apache/jena/jdbc/remote/results/TestRemoteEndpointResultsWithGraphUris.java?rev=1513197&r1=1513196&r2=1513197&view=diff
==============================================================================
--- jena/trunk/jena-jdbc/jena-jdbc-driver-remote/src/test/java/org/apache/jena/jdbc/remote/results/TestRemoteEndpointResultsWithGraphUris.java (original)
+++ jena/trunk/jena-jdbc/jena-jdbc-driver-remote/src/test/java/org/apache/jena/jdbc/remote/results/TestRemoteEndpointResultsWithGraphUris.java Mon Aug 12 16:57:46 2013
@@ -64,28 +64,19 @@ public class TestRemoteEndpointResultsWi
     
     /**
      * Clean up after each test by resetting the Fuseki instance
-     * @throws InterruptedException 
      */
     @After
-    public void cleanupTest() throws InterruptedException {
+    public void cleanupTest() {
         ServerTest.resetServer();
-        
-        // Sleep attempts to avoid a intermittent timing issue on the build server that can result in hung builds
-        Thread.sleep(250);
     }
     
     /**
      * Clean up after tests by de-allocating the Fuseki instance
      * @throws SQLException 
-     * @throws InterruptedException 
      */
     @AfterClass
-    public static void cleanup() throws SQLException, InterruptedException {
-        ServerTest.freeServer();
-        
-        // Sleep attempts to avoid a intermittent timing issue on the build server that can result in hung builds
-        Thread.sleep(250);
-        
+    public static void cleanup() throws SQLException {
+        ServerTest.freeServer();       
         connection.close();
     }
 

Modified: jena/trunk/jena-jdbc/jena-jdbc-driver-remote/src/test/java/org/apache/jena/jdbc/remote/results/TestRemoteEndpointResultsWithResultSetTypes.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-jdbc/jena-jdbc-driver-remote/src/test/java/org/apache/jena/jdbc/remote/results/TestRemoteEndpointResultsWithResultSetTypes.java?rev=1513197&r1=1513196&r2=1513197&view=diff
==============================================================================
--- jena/trunk/jena-jdbc/jena-jdbc-driver-remote/src/test/java/org/apache/jena/jdbc/remote/results/TestRemoteEndpointResultsWithResultSetTypes.java (original)
+++ jena/trunk/jena-jdbc/jena-jdbc-driver-remote/src/test/java/org/apache/jena/jdbc/remote/results/TestRemoteEndpointResultsWithResultSetTypes.java Mon Aug 12 16:57:46 2013
@@ -55,28 +55,19 @@ public class TestRemoteEndpointResultsWi
     
     /**
      * Clean up after each test by resetting the Fuseki instance
-     * @throws InterruptedException 
      */
     @After
-    public void cleanupTest() throws InterruptedException {
+    public void cleanupTest() {
         ServerTest.resetServer();
-        
-        // Sleep attempts to avoid a intermittent timing issue on the build server that can result in hung builds
-        Thread.sleep(250);
     }
     
     /**
      * Clean up after tests by de-allocating the Fuseki instance
      * @throws SQLException 
-     * @throws InterruptedException 
      */
     @AfterClass
-    public static void cleanup() throws SQLException, InterruptedException {
-        ServerTest.freeServer();
-        
-        // Sleep attempts to avoid a intermittent timing issue on the build server that can result in hung builds
-        Thread.sleep(250);
-        
+    public static void cleanup() throws SQLException {
+        ServerTest.freeServer();        
         connection.close();
     }