Fix core test failrues
git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/branches/HADOOP-4687/core@780977 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5c7b7adacb
commit
244380a885
|
@ -46,6 +46,7 @@
|
||||||
<property name="build.dir" value="${basedir}/build"/>
|
<property name="build.dir" value="${basedir}/build"/>
|
||||||
<property name="build.classes" value="${build.dir}/classes"/>
|
<property name="build.classes" value="${build.dir}/classes"/>
|
||||||
<property name="build.src" value="${build.dir}/src"/>
|
<property name="build.src" value="${build.dir}/src"/>
|
||||||
|
<property name="build.webapps" value="${build.dir}/webapps"/>
|
||||||
|
|
||||||
<!-- convert spaces to _ so that mac os doesn't break things -->
|
<!-- convert spaces to _ so that mac os doesn't break things -->
|
||||||
<exec executable="sed" inputstring="${os.name}"
|
<exec executable="sed" inputstring="${os.name}"
|
||||||
|
@ -227,6 +228,7 @@
|
||||||
<mkdir dir="${build.dir}"/>
|
<mkdir dir="${build.dir}"/>
|
||||||
<mkdir dir="${build.classes}"/>
|
<mkdir dir="${build.classes}"/>
|
||||||
<mkdir dir="${build.src}"/>
|
<mkdir dir="${build.src}"/>
|
||||||
|
<mkdir dir="${build.webapps}"/>
|
||||||
|
|
||||||
<mkdir dir="${test.build.dir}"/>
|
<mkdir dir="${test.build.dir}"/>
|
||||||
<mkdir dir="${test.build.classes}"/>
|
<mkdir dir="${test.build.classes}"/>
|
||||||
|
|
|
@ -101,7 +101,7 @@ public class TestGlobalFilter extends junit.framework.TestCase {
|
||||||
//start a http server with CountingFilter
|
//start a http server with CountingFilter
|
||||||
conf.set(HttpServer.FILTER_INITIALIZER_PROPERTY,
|
conf.set(HttpServer.FILTER_INITIALIZER_PROPERTY,
|
||||||
RecordingFilter.Initializer.class.getName());
|
RecordingFilter.Initializer.class.getName());
|
||||||
HttpServer http = new HttpServer("datanode", "localhost", 0, true, conf);
|
HttpServer http = new HttpServer("..", "localhost", 0, true, conf);
|
||||||
http.start();
|
http.start();
|
||||||
|
|
||||||
final String fsckURL = "/fsck";
|
final String fsckURL = "/fsck";
|
||||||
|
|
|
@ -99,7 +99,7 @@ public class TestServletFilter extends junit.framework.TestCase {
|
||||||
//start a http server with CountingFilter
|
//start a http server with CountingFilter
|
||||||
conf.set(HttpServer.FILTER_INITIALIZER_PROPERTY,
|
conf.set(HttpServer.FILTER_INITIALIZER_PROPERTY,
|
||||||
SimpleFilter.Initializer.class.getName());
|
SimpleFilter.Initializer.class.getName());
|
||||||
HttpServer http = new HttpServer("datanode", "localhost", 0, true, conf);
|
HttpServer http = new HttpServer("..", "localhost", 0, true, conf);
|
||||||
http.start();
|
http.start();
|
||||||
|
|
||||||
final String fsckURL = "/fsck";
|
final String fsckURL = "/fsck";
|
||||||
|
|
Loading…
Reference in New Issue