From 244380a885f5cd009fa16cb9a6774337eab52e1d Mon Sep 17 00:00:00 2001 From: Giridharan Kesavan Date: Tue, 2 Jun 2009 09:11:13 +0000 Subject: [PATCH] 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 --- build.xml | 2 ++ src/test/core/org/apache/hadoop/http/TestGlobalFilter.java | 2 +- src/test/core/org/apache/hadoop/http/TestServletFilter.java | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/build.xml b/build.xml index bc2d3a6511..5d272236de 100644 --- a/build.xml +++ b/build.xml @@ -46,6 +46,7 @@ + + diff --git a/src/test/core/org/apache/hadoop/http/TestGlobalFilter.java b/src/test/core/org/apache/hadoop/http/TestGlobalFilter.java index 51ab60697f..51b43120b1 100644 --- a/src/test/core/org/apache/hadoop/http/TestGlobalFilter.java +++ b/src/test/core/org/apache/hadoop/http/TestGlobalFilter.java @@ -101,7 +101,7 @@ public void testServletFilter() throws Exception { //start a http server with CountingFilter conf.set(HttpServer.FILTER_INITIALIZER_PROPERTY, RecordingFilter.Initializer.class.getName()); - HttpServer http = new HttpServer("datanode", "localhost", 0, true, conf); + HttpServer http = new HttpServer("..", "localhost", 0, true, conf); http.start(); final String fsckURL = "/fsck"; diff --git a/src/test/core/org/apache/hadoop/http/TestServletFilter.java b/src/test/core/org/apache/hadoop/http/TestServletFilter.java index 8052f9ad49..7d4198d2a3 100644 --- a/src/test/core/org/apache/hadoop/http/TestServletFilter.java +++ b/src/test/core/org/apache/hadoop/http/TestServletFilter.java @@ -99,7 +99,7 @@ public void testServletFilter() throws Exception { //start a http server with CountingFilter conf.set(HttpServer.FILTER_INITIALIZER_PROPERTY, SimpleFilter.Initializer.class.getName()); - HttpServer http = new HttpServer("datanode", "localhost", 0, true, conf); + HttpServer http = new HttpServer("..", "localhost", 0, true, conf); http.start(); final String fsckURL = "/fsck";