You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by sc...@apache.org on 2009/10/14 21:35:45 UTC

svn commit: r825235 - /webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/attachments/AttachmentsTest.java

Author: scheu
Date: Wed Oct 14 19:35:44 2009
New Revision: 825235

URL: http://svn.apache.org/viewvc?rev=825235&view=rev
Log:
WSCOMMONS-506
Contributor: Rich Scheuerle
Quick change to test.  The sleep interval is changed from 5 to 3 due to intermittent fails on linux.

Modified:
    webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/attachments/AttachmentsTest.java

Modified: webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/attachments/AttachmentsTest.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/attachments/AttachmentsTest.java?rev=825235&r1=825234&r2=825235&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/attachments/AttachmentsTest.java (original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/attachments/AttachmentsTest.java Wed Oct 14 19:35:44 2009
@@ -386,7 +386,7 @@
     public void testCachedFilesExpired() throws Exception {
     	
     	// Set file expiration to 10 seconds
-    	long INTERVAL = 5 * 1000; // 5 seconds for Thread to sleep
+    	long INTERVAL = 3 * 1000; // 3 seconds for Thread to sleep
         Thread t = Thread.currentThread();
 
        



Re: svn commit: r825235 - /webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/attachments/AttachmentsTest.java

Posted by Andreas Veithen <an...@gmail.com>.
Rich,

Would it be possible to optimize the test strategy for
AttachmentsTest? This test alone multiplies the build time by almost a
factor 3 (from well below 2 minutes to 5 minutes).

Andreas

On Wed, Oct 14, 2009 at 20:35,  <sc...@apache.org> wrote:
> Author: scheu
> Date: Wed Oct 14 19:35:44 2009
> New Revision: 825235
>
> URL: http://svn.apache.org/viewvc?rev=825235&view=rev
> Log:
> WSCOMMONS-506
> Contributor: Rich Scheuerle
> Quick change to test.  The sleep interval is changed from 5 to 3 due to intermittent fails on linux.
>
> Modified:
>    webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/attachments/AttachmentsTest.java
>
> Modified: webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/attachments/AttachmentsTest.java
> URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/attachments/AttachmentsTest.java?rev=825235&r1=825234&r2=825235&view=diff
> ==============================================================================
> --- webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/attachments/AttachmentsTest.java (original)
> +++ webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/attachments/AttachmentsTest.java Wed Oct 14 19:35:44 2009
> @@ -386,7 +386,7 @@
>     public void testCachedFilesExpired() throws Exception {
>
>        // Set file expiration to 10 seconds
> -       long INTERVAL = 5 * 1000; // 5 seconds for Thread to sleep
> +       long INTERVAL = 3 * 1000; // 3 seconds for Thread to sleep
>         Thread t = Thread.currentThread();
>
>
>
>
>