killbill-aplcache

meter: bump direct memory for TestFileBackedBuffer Signed-off-by:

11/30/2012 11:59:49 PM

Changes

meter/pom.xml 16(+16 -0)

Details

meter/pom.xml 16(+16 -0)

diff --git a/meter/pom.xml b/meter/pom.xml
index 51a7f94..e374441 100644
--- a/meter/pom.xml
+++ b/meter/pom.xml
@@ -115,4 +115,20 @@
             <scope>test</scope>
         </dependency>
     </dependencies>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <!-- For the TestFileBackedBuffer test -->
+                    <argLine>-XX:MaxDirectMemorySize=512m -Xmx512m</argLine>
+                    <systemPropertyVariables>
+                        <file.encoding>UTF-8</file.encoding>
+                        <user.timezone>GMT</user.timezone>
+                    </systemPropertyVariables>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
 </project>