HADOOP-8693. TestSecurityUtil fails intermittently with JDK7 (Trevor Robinson via tgraves)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1374322 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fb60303c8e
commit
8bd4a22a26
|
@ -919,6 +919,9 @@ Release 0.23.3 - UNRELEASED
|
|||
HADOOP-8692. TestLocalDirAllocator fails intermittently with JDK7
|
||||
(Trevor Robinson via tgraves)
|
||||
|
||||
HADOOP-8693. TestSecurityUtil fails intermittently with JDK7 (Trevor
|
||||
Robinson via tgraves)
|
||||
|
||||
Release 0.23.2 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -137,6 +137,7 @@ public class TestSecurityUtil {
|
|||
|
||||
@Test
|
||||
public void testBuildDTServiceName() {
|
||||
SecurityUtil.setTokenServiceUseIp(true);
|
||||
assertEquals("127.0.0.1:123",
|
||||
SecurityUtil.buildDTServiceName(URI.create("test://LocalHost"), 123)
|
||||
);
|
||||
|
@ -153,6 +154,7 @@ public class TestSecurityUtil {
|
|||
|
||||
@Test
|
||||
public void testBuildTokenServiceSockAddr() {
|
||||
SecurityUtil.setTokenServiceUseIp(true);
|
||||
assertEquals("127.0.0.1:123",
|
||||
SecurityUtil.buildTokenService(new InetSocketAddress("LocalHost", 123)).toString()
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue