Permalink
Browse files

Removed Krati from Contrib Unit tests since it requires more heap space

  • Loading branch information...
1 parent 99468d4 commit 87c0d9ccc99842429f58b07ab8ee9a83dbbf62fe @rsumbaly rsumbaly committed Jun 24, 2010
Showing with 5 additions and 3 deletions.
  1. +2 −1 build.xml
  2. +3 −2 contrib/krati/test/voldemort/store/krati/KratiStorageEngineTest.java
View
@@ -207,7 +207,7 @@
</jar>
</target>
- <target name="contrib-junit" depends="contrib-jar" description="Run contrib junit tests except EC2 tests.">
+ <target name="contrib-junit" depends="contrib-jar" description="Run contrib junit tests except EC2 and Krati tests.">
<replace-dir dir="${contribtestreport.dir}" />
<replace-dir dir="${contribtesthtml.dir}" />
<junit printsummary="yes" maxmemory="1024m" showoutput="true" failureProperty="test.failure">
@@ -219,6 +219,7 @@
<exclude name="**/*PerformanceTest.class" />
<exclude name="**/*RemoteTest.class" />
<exclude name="**/Ec2*Test.class" />
+ <exclude name="**/Krati*Test.class" />
</fileset>
</batchtest>
</junit>
@@ -2,6 +2,7 @@
import java.io.File;
+import voldemort.TestUtils;
import voldemort.store.AbstractStorageEngineTest;
import voldemort.store.StorageEngine;
import voldemort.utils.ByteArray;
@@ -12,10 +13,10 @@
protected void setUp() throws Exception {
super.setUp();
- File storeDir = new File("/blah");
+ File storeDir = TestUtils.createTempDir();
storeDir.mkdirs();
storeDir.deleteOnExit();
- this.store = new KratiStorageEngine("blah", 256, 0.75, 0, storeDir);
+ this.store = new KratiStorageEngine("storeName", 10, 0.75, 0, storeDir);
}
@Override

0 comments on commit 87c0d9c

Please sign in to comment.