You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directmemory.apache.org by ol...@apache.org on 2012/02/28 14:29:31 UTC
svn commit: r1294637 - in /incubator/directmemory/trunk:
directmemory-cache/src/main/java/org/apache/directmemory/cache/Cache.java
itests/osgi/pom.xml
Author: olamy
Date: Tue Feb 28 13:29:31 2012
New Revision: 1294637
URL: http://svn.apache.org/viewvc?rev=1294637&view=rev
Log:
fix osgi unit tests
Modified:
incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/cache/Cache.java
incubator/directmemory/trunk/itests/osgi/pom.xml
Modified: incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/cache/Cache.java
URL: http://svn.apache.org/viewvc/incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/cache/Cache.java?rev=1294637&r1=1294636&r2=1294637&view=diff
==============================================================================
--- incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/cache/Cache.java (original)
+++ incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/cache/Cache.java Tue Feb 28 13:29:31 2012
@@ -55,6 +55,7 @@ public class Cache
cacheService = builder.setNumberOfBuffers( numberOfBuffers )
.setInitialCapacity( initialCapacity )
.setConcurrencyLevel( concurrencyLevel )
+ .setSize( size )
.newCacheService();
}
Modified: incubator/directmemory/trunk/itests/osgi/pom.xml
URL: http://svn.apache.org/viewvc/incubator/directmemory/trunk/itests/osgi/pom.xml?rev=1294637&r1=1294636&r2=1294637&view=diff
==============================================================================
--- incubator/directmemory/trunk/itests/osgi/pom.xml (original)
+++ incubator/directmemory/trunk/itests/osgi/pom.xml Tue Feb 28 13:29:31 2012
@@ -89,7 +89,6 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.12</version>
<configuration>
<argLine>-Xmx512m -Xms512m -XX:MaxDirectMemorySize=512m</argLine>
<systemPropertyVariables>