Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 87c0d9ccc99842429f58b07ab8ee9a83dbbf62fe 1 parent 99468d4
@rsumbaly rsumbaly authored
View
3  build.xml
@@ -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>
View
5 contrib/krati/test/voldemort/store/krati/KratiStorageEngineTest.java
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.