git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.21@824900 13f79535-47bb-0310-9956-ffa450edef68
@@ -592,6 +592,9 @@ Trunk (unreleased changes)
HADOOP-6305. Unify build property names to facilitate cross-projects
modifications. Contributed by Konstantin Boudnik
+ HADOOP-6309. Change build.xml to run tests with java asserts. (Eli
+ Collins via szetszwo)
+
OPTIMIZATIONS
HADOOP-5595. NameNode does not need to run a replicator to choose a
@@ -516,6 +516,7 @@
maxmemory="${test.junit.maxmemory}"
dir="${basedir}" timeout="${test.timeout}"
errorProperty="tests.failed" failureProperty="tests.failed">
+ <jvmarg value="-ea" />
<sysproperty key="test.build.data" value="${test.build.data}"/>
<sysproperty key="test.cache.data" value="${test.cache.data}"/>
<sysproperty key="test.debug.data" value="${test.debug.data}"/>