Skip to content

Commit

Permalink
Merge pull request voldemort#85 from pbailis/master
Browse files Browse the repository at this point in the history
Enable log4j.properties in all tests and fix hidden debug NPE
  • Loading branch information
Zhongjie Wu committed Aug 1, 2012
2 parents d15b605 + 2c6b61f commit b8f0be4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 0 additions & 3 deletions build.properties
Expand Up @@ -36,8 +36,5 @@ tomcat.manager.username=tomcat
tomcat.manager.password=tomcat
tomcat.context=/voldemort

## Log4j
log4j.properties.dir=src/java

## Release
curr.release=0.90.1
3 changes: 2 additions & 1 deletion build.xml
Expand Up @@ -27,6 +27,7 @@
</condition>

<path id="contrib-classpath">
<pathelement path="${resources.dir}" />
<fileset dir="${dist.dir}">
<include name="${name}-${curr.release}.jar" />
</fileset>
Expand All @@ -37,6 +38,7 @@
</path>

<path id="test-classpath">
<pathelement path="${resources.dir}" />
<pathelement path="${env.VOLD_TEST_JARS}" />
<path refid="main-classpath" />
<pathelement path="${testclasses.dir}" />
Expand Down Expand Up @@ -372,7 +374,6 @@
<replace-dir dir="${testhtml.dir}" />
<junit printsummary="yes" showoutput="true" maxmemory="1024m">
<classpath refid="test-classpath" />
<classpath path="${log4j.properties.dir}" />
<formatter type="xml" />
<batchtest fork="yes" todir="${testreport.dir}">
<fileset dir="${unittestsrc.dir}">
Expand Down
2 changes: 1 addition & 1 deletion src/java/voldemort/store/socket/SocketStore.java
Expand Up @@ -445,7 +445,7 @@ private void invokeCallback(Object o, long requestTime) {
+ clientRequestExecutor.getSocketChannel()
.socket()
.getLocalPort() + " result: "
+ o.toString());
+ o);
}

callback.requestComplete(o, requestTime);
Expand Down

0 comments on commit b8f0be4

Please sign in to comment.