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);
+ }
}
}
Show replies by date