Skip to content

Commit 859ee1c

Browse files
author
fuchaohong
committed
fix ut failed.
1 parent 8919d40 commit 859ee1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/server/TestLdapAuthenticationHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public void testMultiLdapUrl() throws Exception {
177177
HttpServletResponse response = mock(HttpServletResponse.class);
178178

179179
final Base64 base64 = new Base64(0);
180-
String credentials = base64.encodeToString("bjones:******".getBytes());
180+
String credentials = base64.encodeToString("bjones:p@ssw0rd".getBytes());
181181
String authHeader = HttpConstants.BASIC + " " + credentials;
182182
when(request.getHeader(HttpConstants.AUTHORIZATION_HEADER))
183183
.thenReturn(authHeader);

0 commit comments

Comments
 (0)