Permalink
Browse files

incredibly odd failure condition

  • Loading branch information...
1 parent 695eea9 commit 536ae8da0487aa15c99f2c92fadc99a7b7dcd7ac @moonpolysoft moonpolysoft committed Aug 2, 2012
Showing with 15 additions and 3 deletions.
  1. +4 −3 build.xml
  2. +3 −0 ivysettings.xml
  3. +8 −0 src/test/java/org/cliffc/high_scale_lib/NonBlockingSetIntTest.java
View
@@ -57,7 +57,7 @@
</target>
<target name="ivy-retrieve-build" depends="ivy-init, resolve">
- <ivy:retrieve type="jar,source" pattern="${build.dir.lib}/[type]s/[artifact].[ext]"/>
+ <ivy:retrieve type="jar" pattern="${build.dir.lib}/[type]s/[artifact].[ext]"/>
</target>
<target name="resolve">
@@ -71,7 +71,7 @@
</target>
<target name="compile" depends="ivy-retrieve-build" description="Compilation target">
- <javac srcdir="${build.src.java}" destdir="${build.classes}"/>
+ <javac srcdir="${build.src.java}" destdir="${build.classes}" debug="true"/>
</target>
<target name="gen-pom" depends="ivy-init">
@@ -91,8 +91,9 @@
</target>
<target name="test" depends="compile-tests" description="run unit tests">
- <junit>
+ <junit haltonfailure="true" printsummary="yes">
<classpath refid="test.classpath"/>
+ <formatter type="plain" usefile="false"/>
<test name="org.cliffc.high_scale_lib.HighScaleLibTestSuite"/>
</junit>
</target>
View
@@ -20,6 +20,9 @@
pattern="http://maven.boundary.com/artifactory/external/[organization]/[module]/[revision]/[module]-[revision](-[classifier]).[ext]"/>
<ivy pattern="http://maven.boundary.com/artifactory/external/[organization]/[module]/[revision]/ivy-[module].xml"/>
</url>
+ <url name="ibiblio" m2compatible="true">
+ <artifact pattern="http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/>
+ </url>
</chain>
</resolvers>
</ivysettings>
@@ -11,6 +11,14 @@
public class NonBlockingSetIntTest extends TestCase {
+ public void testDerp() {
+ NonBlockingSetInt a = new NonBlockingSetInt();
+ NonBlockingSetInt b = new NonBlockingSetInt();
+
+ a.add(1213446);
+ NonBlockingSetInt c = a.union(b);
+ }
+
public void testSetOperations() {
// add values to the following bitsets
// 'a' will get all values divisible by 63

0 comments on commit 536ae8d

Please sign in to comment.