Skip to content
This repository has been archived by the owner on Nov 22, 2017. It is now read-only.

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tjake committed Apr 28, 2011
1 parent c0ce120 commit e652f58
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion build.xml
Expand Up @@ -149,7 +149,12 @@
<echo message="running tests" />
<mkdir dir="${build}/output" />
<junit fork="on" failureproperty="testfailed">
<classpath refid="solandra.classpath" />

<classpath>
<path refid="solandra.classpath"/>
<pathelement location="${basedir}/solandra-app/"/>
</classpath>

<formatter type="xml" usefile="true" />
<formatter type="brief" usefile="false" />

Expand All @@ -158,6 +163,9 @@
</batchtest>

<jvmarg value="-Xmx1G" />
<jvmarg value="-Dlog4j.configuration=file:///${basedir}/resources/log4j.properties"/>
<jvmarg value="-Dlog4j.defaultInitOverride=true" />

</junit>
<fail if="testfailed" message="Some test(s) failed." />
</target>
Expand Down
2 changes: 1 addition & 1 deletion src/lucandra/CassandraUtils.java
Expand Up @@ -123,7 +123,7 @@ public class CassandraUtils
// 10 seconds.
static
{
String config = System.getProperty("log4j.configuration", "log4j-server.properties");
String config = System.getProperty("log4j.configuration", "log4j.properties");
URL configLocation = null;
try
{
Expand Down

0 comments on commit e652f58

Please sign in to comment.