[jboss-osgi-commits] JBoss-OSGI SVN: r93655 - in projects/jboss-osgi/trunk/testsuite: example/src/test/java/org/jboss/test/osgi/example/blueprint and 1 other directories.

jboss-osgi-commits at lists.jboss.org jboss-osgi-commits at lists.jboss.org
Thu Sep 17 14:04:38 EDT 2009


Author: thomas.diesler at jboss.com
Date: 2009-09-17 14:04:37 -0400 (Thu, 17 Sep 2009)
New Revision: 93655

Modified:
   projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/blueprint/BlueprintStressTestCase.java
   projects/jboss-osgi/trunk/testsuite/functional/src/test/java/org/jboss/test/osgi/jbosgi99/OSGI99TestCase.java
   projects/jboss-osgi/trunk/testsuite/pom.xml
Log:
[JBOSGI-155] VirtualFile instance leak
WIP

Modified: projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/blueprint/BlueprintStressTestCase.java
===================================================================
--- projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/blueprint/BlueprintStressTestCase.java	2009-09-17 17:58:52 UTC (rev 93654)
+++ projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/blueprint/BlueprintStressTestCase.java	2009-09-17 18:04:37 UTC (rev 93655)
@@ -74,9 +74,9 @@
 
             bundle.uninstall();
             runtime.removeCapability(blueprintCapability);
-            
+
             long currTime = System.currentTimeMillis();
-            System.out.println("#" + (i + 1) + " " + (currTime - lastTime) + "ms " + VirtualFile.getCount());
+            //System.out.println("#" + (i + 1) + " " + (currTime - lastTime) + "ms " + VirtualFile.getCount());
 
             Thread.sleep(3000);
             lastTime = currTime;

Modified: projects/jboss-osgi/trunk/testsuite/functional/src/test/java/org/jboss/test/osgi/jbosgi99/OSGI99TestCase.java
===================================================================
--- projects/jboss-osgi/trunk/testsuite/functional/src/test/java/org/jboss/test/osgi/jbosgi99/OSGI99TestCase.java	2009-09-17 17:58:52 UTC (rev 93654)
+++ projects/jboss-osgi/trunk/testsuite/functional/src/test/java/org/jboss/test/osgi/jbosgi99/OSGI99TestCase.java	2009-09-17 18:04:37 UTC (rev 93655)
@@ -65,7 +65,7 @@
             bundleA.uninstall();
             
             long currTime = System.currentTimeMillis();
-            System.out.println("#" + (i + 1) + " " + (currTime - lastTime) + "ms " + VirtualFile.getCount());
+            //System.out.println("#" + (i + 1) + " " + (currTime - lastTime) + "ms " + VirtualFile.getCount());
 
             //Thread.sleep(10000);
             lastTime = currTime;

Modified: projects/jboss-osgi/trunk/testsuite/pom.xml
===================================================================
--- projects/jboss-osgi/trunk/testsuite/pom.xml	2009-09-17 17:58:52 UTC (rev 93654)
+++ projects/jboss-osgi/trunk/testsuite/pom.xml	2009-09-17 18:04:37 UTC (rev 93655)
@@ -267,7 +267,7 @@
           <plugin>
             <artifactId>maven-surefire-plugin</artifactId>
             <configuration>
-              <argLine>-agentlib:yjpagent</argLine>
+              <!-- argLine>-agentlib:yjpagent</argLine -->
             </configuration>
           </plugin>
         </plugins>



More information about the jboss-osgi-commits mailing list