Merge -r 1236939:1236940 from trunk to branch. FIXES: HDFS-2840
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1236942 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4132e3991e
commit
56b07f1ab2
|
@ -47,7 +47,7 @@ public class TestHostnameFilter extends HTestCase {
|
||||||
@Override
|
@Override
|
||||||
public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse)
|
public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse)
|
||||||
throws IOException, ServletException {
|
throws IOException, ServletException {
|
||||||
Assert.assertEquals(HostnameFilter.get(), "localhost");
|
Assert.assertTrue(HostnameFilter.get().contains("localhost"));
|
||||||
invoked.set(true);
|
invoked.set(true);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -188,6 +188,8 @@ Release 0.23.1 - UNRELEASED
|
||||||
|
|
||||||
HDFS-2837. mvn javadoc:javadoc not seeing LimitedPrivate class (revans2 via tucu)
|
HDFS-2837. mvn javadoc:javadoc not seeing LimitedPrivate class (revans2 via tucu)
|
||||||
|
|
||||||
|
HDFS-2840. TestHostnameFilter should work with localhost or localhost.localdomain (tucu)
|
||||||
|
|
||||||
Release 0.23.0 - 2011-11-01
|
Release 0.23.0 - 2011-11-01
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
Loading…
Reference in New Issue