You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/08/14 15:26:35 UTC
svn commit: r804219 -
/commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestPrivate.java
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) {