commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r804219 - /commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestPrivate.java
Date Fri, 14 Aug 2009 13:26:35 GMT
Author: mturk
Date: Fri Aug 14 13:26:34 2009
New Revision: 804219

URL: http://svn.apache.org/viewvc?rev=804219&view=rev
Log:
Use fork() when attaching shared memory

Modified:
    commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestPrivate.java

Modified: commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestPrivate.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestPrivate.java?rev=804219&r1=804218&r2=804219&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestPrivate.java (original)
+++ commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestPrivate.java Fri
Aug 14 13:26:34 2009
@@ -942,6 +942,7 @@
             assertTrue("Shared memory", sb > 0);
             assertEquals("Shared memory size", 1024, test066(sb));
         }
+        Thread.sleep(1000);
         rv = test062(sa);
         assertEquals("Destroy Shared memory", 0, rv);
         if (sb != 0) {



Mime
View raw message