[jbosscache-commits] JBoss Cache SVN: r5787 - benchmarks/benchmark-fwk/trunk/src/org/cachebench/tests.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Thu May 1 09:35:17 EDT 2008


Author: mircea.markus
Date: 2008-05-01 09:35:17 -0400 (Thu, 01 May 2008)
New Revision: 5787

Modified:
   benchmarks/benchmark-fwk/trunk/src/org/cachebench/tests/SessionSimulatorTest.java
Log:
updated 2.2 distribution



Modified: benchmarks/benchmark-fwk/trunk/src/org/cachebench/tests/SessionSimulatorTest.java
===================================================================
--- benchmarks/benchmark-fwk/trunk/src/org/cachebench/tests/SessionSimulatorTest.java	2008-05-01 11:13:32 UTC (rev 5786)
+++ benchmarks/benchmark-fwk/trunk/src/org/cachebench/tests/SessionSimulatorTest.java	2008-05-01 13:35:17 UTC (rev 5787)
@@ -130,7 +130,11 @@
    {
       for (int i = 0; i < numberOfAttributes; i++)
       {
-         cacheWrapper.put(getSessionEntry(i), new byte[sizeOfAnAttribute]);
+         try {
+            cacheWrapper.put(getSessionEntry(i), new byte[sizeOfAnAttribute]);
+         } catch (Throwable e) {
+            log.warn("Error while initializing the session: " , e);
+         }
       }
    }
 




More information about the jbosscache-commits mailing list